diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-03-01 13:12:31 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-03-07 09:09:13 +0300 |
commit | ecefd94e8bde7de4f03d6fc874378d826537df7b (patch) | |
tree | cfc218ff3615f814b9c05bbc3ea07f01ce3ae673 /drivers/gpu/drm/qxl/qxl_drv.h | |
parent | 861078381ba56b56808113736000d9e7ead349c8 (diff) | |
download | linux-ecefd94e8bde7de4f03d6fc874378d826537df7b.tar.xz |
qxl: drop mode_info.modes & related code.
very old qxl hardware revisions (predating qxl ksm support by a few
years) supported a fixed list of video modes only. The list is still
provided by the virtual hardware, for backward compatibility reasons.
The qxl kms driver never ever looks at it, except for dumping it to
the kernel log at load time in case debug logging is enabled. Drop
that pointless code.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1488363154-6889-2-git-send-email-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.h')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_drv.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h index c0481706e4b0..b43320fe5da5 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.h +++ b/drivers/gpu/drm/qxl/qxl_drv.h @@ -160,8 +160,6 @@ struct qxl_mman { }; struct qxl_mode_info { - int num_modes; - struct qxl_mode *modes; bool mode_config_initialized; /* pointer to fbdev info structure */ |