From: Dave Airlie Date: Mon, 13 May 2013 02:42:26 +0000 (+1000) Subject: qxl: drop unused variable. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d7292a07a1b3d0b31a54a3e949ed4dd99e9a85e8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git qxl: drop unused variable. this boolean isn't used anymore so drop it. Signed-off-by: Dave Airlie --- 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;