summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/qxl/qxl_drv.h
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>2017-01-27 02:05:46 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-02-02 10:02:34 +0100
commit5472bdee3f7ac3393e6911fc21eaa339b978cfed (patch)
tree747fe4d44573eb0cc92c6f42578697ee28b9ab2a /drivers/gpu/drm/qxl/qxl_drv.h
parentdrm: qxl: Drop misleading comment (diff)
downloadlinux-5472bdee3f7ac3393e6911fc21eaa339b978cfed.tar.xz
linux-5472bdee3f7ac3393e6911fc21eaa339b978cfed.zip
drm: qxl: Drop duplicated device pointer attribute
qxl_device duplicates a pointer to struct device, which is not needed since we already have it in the drm_device structure. Clean it up. Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170127010548.27970-2-krisman@collabora.co.uk Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.h')
-rw-r--r--drivers/gpu/drm/qxl/qxl_drv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h
index 0d877fa61162..a022de205134 100644
--- a/drivers/gpu/drm/qxl/qxl_drv.h
+++ b/drivers/gpu/drm/qxl/qxl_drv.h
@@ -242,7 +242,6 @@ void qxl_debugfs_remove_files(struct qxl_device *qdev);
struct qxl_device;
struct qxl_device {
- struct device *dev;
struct drm_device *ddev;
struct pci_dev *pdev;
unsigned long flags;