summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_quad_colormask.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_colormask.c
parente53303ba3b69c2c82cefd58e90d06132c2af2bb7 (diff)
gallium: remove unnecessary guards on qs->next
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad_colormask.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_colormask.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad_colormask.c b/src/mesa/pipe/softpipe/sp_quad_colormask.c
index 867cc0725a..1f09d900ca 100644
--- a/src/mesa/pipe/softpipe/sp_quad_colormask.c
+++ b/src/mesa/pipe/softpipe/sp_quad_colormask.c
@@ -87,8 +87,7 @@ colormask_quad(struct quad_stage *qs, struct quad_header *quad)
static void colormask_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}