summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2013-05-13 12:42:26 +1000
committerDave Airlie <airlied@redhat.com>2013-05-17 11:45:45 +1000
commitd7292a07a1b3d0b31a54a3e949ed4dd99e9a85e8 (patch)
tree915dc8cde88bc61d60883870d52d7e1a9a5812a5
parenta6ac1bc341e499ad5296f265dfa8eba5afbf4191 (diff)
downloadlinux-d7292a07a1b3d0b31a54a3e949ed4dd99e9a85e8.tar.bz2
qxl: drop unused variable.
this boolean isn't used anymore so drop it. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/qxl/qxl_display.c1
-rw-r--r--drivers/gpu/drm/qxl/qxl_drv.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c
index fcfd4436ceed..735ddd2cb99f 100644
--- a/drivers/gpu/drm/qxl/qxl_display.c
+++ b/drivers/gpu/drm/qxl/qxl_display.c
@@ -604,7 +604,6 @@ static int qxl_crtc_mode_set(struct drm_crtc *crtc,
mode->hdisplay,
mode->vdisplay);
}
- qdev->mode_set = true;
return 0;
}
diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h
index 52b582c211da..5b7c130f4744 100644
--- a/drivers/gpu/drm/qxl/qxl_drv.h
+++ b/drivers/gpu/drm/qxl/qxl_drv.h
@@ -270,7 +270,6 @@ struct qxl_device {
struct qxl_ring *cursor_ring;
struct qxl_ram_header *ram_header;
- bool mode_set;
bool primary_created;