qxl: drop unused variable.
authorDave Airlie <airlied@gmail.com>
Mon, 13 May 2013 02:42:26 +0000 (12:42 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 17 May 2013 01:45:45 +0000 (11:45 +1000)
this boolean isn't used anymore so drop it.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_display.c
drivers/gpu/drm/qxl/qxl_drv.h

index fcfd443..735ddd2 100644 (file)
@@ -604,7 +604,6 @@ static int qxl_crtc_mode_set(struct drm_crtc *crtc,
                                               mode->hdisplay,
                                               mode->vdisplay);
        }
-       qdev->mode_set = true;
        return 0;
 }
 
index 52b582c..5b7c130 100644 (file)
@@ -270,7 +270,6 @@ struct qxl_device {
        struct qxl_ring *cursor_ring;
 
        struct qxl_ram_header *ram_header;
-       bool mode_set;
 
        bool primary_created;