Browse Source

qxl: drop unused variable.

this boolean isn't used anymore so drop it.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Dave Airlie 12 years ago
parent
commit
d7292a07a1
2 changed files with 0 additions and 2 deletions
  1. 0 1
      drivers/gpu/drm/qxl/qxl_display.c
  2. 0 1
      drivers/gpu/drm/qxl/qxl_drv.h

+ 0 - 1
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;
 }
 

+ 0 - 1
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;