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>
This commit is contained in:
Gabriel Krisman Bertazi
2017-01-26 23:05:47 -02:00
committed by Gerd Hoffmann
parent 5472bdee3f
commit d74d74aeaf
3 changed files with 1 additions and 3 deletions

View File

@@ -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);