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 fcfd4436ceedd50f335afdc84edac0001036e2d8..735ddd2cb99fb1b27b30123c1e6e75277d6ff220 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 52b582c211da9dc8e8ff4f28dbd52c8a0242c23a..5b7c130f4744d50f655633b54c35d94d233602ef 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;