drm: qxl: Drop device flags attribute
There are no device specific flags that we need to keep track of here. Let it vanish. Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170227204328.18761-2-krisman@collabora.co.uk Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:

committed by
Gerd Hoffmann

parent
b982dab1e6
commit
aa5b62bac0
@@ -117,8 +117,7 @@ static void qxl_gc_work(struct work_struct *work)
|
||||
|
||||
int qxl_device_init(struct qxl_device *qdev,
|
||||
struct drm_driver *drv,
|
||||
struct pci_dev *pdev,
|
||||
unsigned long flags)
|
||||
struct pci_dev *pdev)
|
||||
{
|
||||
int r, sb;
|
||||
|
||||
@@ -130,8 +129,6 @@ int qxl_device_init(struct qxl_device *qdev,
|
||||
pci_set_drvdata(pdev, &qdev->ddev);
|
||||
qdev->ddev.dev_private = qdev;
|
||||
|
||||
qdev->flags = flags;
|
||||
|
||||
mutex_init(&qdev->gem.mutex);
|
||||
mutex_init(&qdev->update_area_mutex);
|
||||
mutex_init(&qdev->release_mutex);
|
||||
|
Reference in New Issue
Block a user