diff mbox

[freedesk/drm-nouveau-next] drm: remove unused variable

Message ID 1384519557-371-1-git-send-email-gaowanlong@cn.fujitsu.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wanlong Gao Nov. 15, 2013, 12:45 p.m. UTC
/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@cn.fujitsu.com>
---
 drivers/gpu/drm/nouveau/core/subdev/mc/base.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

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;