sna: Remove unused variable
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Dec 2013 21:30:06 +0000 (21:30 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Dec 2013 21:39:40 +0000 (21:39 +0000)
sna_display.c: In function 'sna_crtc_redisplay__fallback':
sna_display.c:4104:19: warning: unused variable 'sna_crtc' [-Wunused-variable]
  struct sna_crtc *sna_crtc = to_sna_crtc(crtc);

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

index 44e0feb..15e32df 100644 (file)
@@ -4101,7 +4101,6 @@ static void
 sna_crtc_redisplay__fallback(xf86CrtcPtr crtc, RegionPtr region, struct kgem_bo *bo)
 {
        struct sna *sna = to_sna(crtc->scrn);
-       struct sna_crtc *sna_crtc = to_sna_crtc(crtc);
        ScreenPtr screen = sna->scrn->pScreen;
        PictFormatPtr format;
        PicturePtr src, dst;