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>
This commit is contained in:

committed by
Gerd Hoffmann

parent
768851b92c
commit
5472bdee3f
@@ -122,7 +122,6 @@ int qxl_device_init(struct qxl_device *qdev,
|
||||
{
|
||||
int r, sb;
|
||||
|
||||
qdev->dev = &pdev->dev;
|
||||
qdev->ddev = ddev;
|
||||
qdev->pdev = pdev;
|
||||
qdev->flags = flags;
|
||||
|
Reference in New Issue
Block a user