diff options
author | Gabriel Krisman Bertazi <krisman@collabora.co.uk> | 2017-01-27 02:05:46 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-02-02 10:02:34 +0100 |
commit | 5472bdee3f7ac3393e6911fc21eaa339b978cfed (patch) | |
tree | 747fe4d44573eb0cc92c6f42578697ee28b9ab2a /drivers/gpu/drm/qxl/qxl_kms.c | |
parent | drm: qxl: Drop misleading comment (diff) | |
download | linux-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_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 d0666f5dccd6..7632e38493fc 100644 --- a/drivers/gpu/drm/qxl/qxl_kms.c +++ b/drivers/gpu/drm/qxl/qxl_kms.c @@ -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; |