summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_quad_bufloop.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-12-10 22:02:04 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2007-12-10 22:02:10 +0000
commit7c306afdaad534cc4b474f07b4970bbf3ea46ff9 (patch)
tree423715b03aad4f58362bd62bf99eda2108ce86dd /src/mesa/pipe/softpipe/sp_quad_bufloop.c
parente53303ba3b69c2c82cefd58e90d06132c2af2bb7 (diff)
gallium: remove unnecessary guards on qs->next
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad_bufloop.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_bufloop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad_bufloop.c b/src/mesa/pipe/softpipe/sp_quad_bufloop.c
index e704b4043c..2ae4e22a7d 100644
--- a/src/mesa/pipe/softpipe/sp_quad_bufloop.c
+++ b/src/mesa/pipe/softpipe/sp_quad_bufloop.c
@@ -43,8 +43,7 @@ cbuf_loop_quad(struct quad_stage *qs, struct quad_header *quad)
static void cbuf_loop_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}