[Nouveau] [PATCH 09/14] drm/nv04_instmem: Remove duplicate assignment
Emil Velikov
emil.l.velikov at gmail.com
Sun May 20 16:14:58 PDT 2012
The variable is already set in nouveau_subdev_create()
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
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
More information about the Nouveau
mailing list