sna: Silence snarky compliers
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 30 Jun 2014 09:55:20 +0000 (10:55 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 30 Jun 2014 09:55:20 +0000 (10:55 +0100)
0 != (void *)0

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c

index 6eafd26..fab0637 100644 (file)
@@ -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))