summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-30 10:55:20 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-30 10:55:20 +0100
commitffe8bd4d6e296a0ded0e118aee05aa6cb3051c56 (patch)
treee38b78f6ef47cc660966edcb5b2aedbfe6ead75b
parent05f6183075867d582b7f9f74aec42e632e3d83dd (diff)
sna: Silence snarky compliers
0 != (void *)0 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 6eafd265..fab0637c 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -17814,7 +17814,7 @@ restart:
if (sna_scanout_do_flush(sna))
sna_scanout_flush(sna);
assert(sna_accel_scanout(sna) == NULL ||
- sna_accel_scanout(sna)->gpu_bo->needs_flush == NULL ||
+ !sna_accel_scanout(sna)->gpu_bo->needs_flush ||
sna->timer_active & (1<<(FLUSH_TIMER)));
if (sna_accel_do_throttle(sna))