The variable is already set in nouveau_subdev_create()

Signed-off-by: Emil Velikov <[email protected]>
---
 drivers/gpu/drm/nouveau/nv04_instmem.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nv04_instmem.c 
b/drivers/gpu/drm/nouveau/nv04_instmem.c
index 362b23f..47d70fe 100644
--- a/drivers/gpu/drm/nouveau/nv04_instmem.c
+++ b/drivers/gpu/drm/nouveau/nv04_instmem.c
@@ -108,7 +108,6 @@ nv04_instmem_create(struct nouveau_device *ndev, int subdev)
        if (ret)
                return ret;
 
-       priv->base.base.device = ndev;
        priv->base.base.destroy = nv04_instmem_destroy;
        priv->base.get = nv04_instmem_get;
        priv->base.put = nv04_instmem_put;
-- 
1.7.10.2

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to