diff mbox

gpu: drm: nouveau: Remove unused variable to prevent compile warning.

Message ID 1298224727-5474-1-git-send-email-ralf.thielow@googlemail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ralf Thielow Feb. 20, 2011, 5:58 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/gpu/drm/nouveau/nv50_vm.c b/drivers/gpu/drm/nouveau/nv50_vm.c
index 459ff08..03c1a63 100644
--- a/drivers/gpu/drm/nouveau/nv50_vm.c
+++ b/drivers/gpu/drm/nouveau/nv50_vm.c
@@ -31,7 +31,6 @@  void
 nv50_vm_map_pgt(struct nouveau_gpuobj *pgd, u32 pde,
 		struct nouveau_gpuobj *pgt[2])
 {
-	struct drm_nouveau_private *dev_priv = pgd->dev->dev_private;
 	u64 phys = 0xdeadcafe00000000ULL;
 	u32 coverage = 0;