[PATCH freedesk/drm-nouveau-next] drm: remove unused variable
Wanlong Gao
gaowanlong at cn.fujitsu.com
Fri Nov 15 04:45:57 PST 2013
/git/linux/drivers/gpu/drm/nouveau/core/subdev/mc/base.c: In function 'nouveau_mc_intr':
/git/linux/drivers/gpu/drm/nouveau/core/subdev/mc/base.c:43:25: warning: unused variable 'device' [-Wunused-variable]
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
drivers/gpu/drm/nouveau/core/subdev/mc/base.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c
index bc19aa4..b4b9943 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c
@@ -40,7 +40,6 @@ nouveau_mc_intr(int irq, void *arg)
struct nouveau_mc *pmc = arg;
const struct nouveau_mc_oclass *oclass = (void *)nv_object(pmc)->oclass;
const struct nouveau_mc_intr *map = oclass->intr;
- struct nouveau_device *device = nv_device(pmc);
struct nouveau_subdev *unit;
u32 intr;
--
1.8.5.rc1.17.g0ecd94d
More information about the dri-devel
mailing list