diff options
author | Gabriel Krisman Bertazi <krisman@collabora.co.uk> | 2017-01-27 04:05:47 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-02-02 12:02:36 +0300 |
commit | d74d74aeaf0b29a158bc95c63c6b6b107a57f4f5 (patch) | |
tree | 58b1b0bb053014330f5578c017362467dfd8feef /drivers/gpu/drm/qxl/qxl_kms.c | |
parent | 5472bdee3f7ac3393e6911fc21eaa339b978cfed (diff) | |
download | linux-d74d74aeaf0b29a158bc95c63c6b6b107a57f4f5.tar.xz |
drm: qxl: Drop duplicated pci_device pointer attribute
qxl_device duplicates the pointer to struct pci_dev, 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-3-krisman@collabora.co.uk
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_kms.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_kms.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_kms.c b/drivers/gpu/drm/qxl/qxl_kms.c index 7632e38493fc..52d1bc1bb0ca 100644 --- a/drivers/gpu/drm/qxl/qxl_kms.c +++ b/drivers/gpu/drm/qxl/qxl_kms.c @@ -123,7 +123,6 @@ int qxl_device_init(struct qxl_device *qdev, int r, sb; qdev->ddev = ddev; - qdev->pdev = pdev; qdev->flags = flags; mutex_init(&qdev->gem.mutex); |