Skip to contentSkip to conversation

fix warning: unused variable ‘dev_priv’ drivers/gpu/drm/nouveau/nv50_vm.c

PATCH New helight.xu 1 participant 1 message Apr 6, 2011

Subsystems (3)
lore
Share & tools
lore

helight.xu

author
#0 lore raw

PATCH 1/1 fix warning: unused variable ‘dev_priv’ drivers/gpu/drm/nouveau/nv50_vm.c

fix warning: unused variable ‘dev_priv’ drivers/gpu/drm/nouveau/nv50_vm.c

---
 drivers/gpu/drm/nouveau/nv50_vm.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/gpu/drm/nouveau/nv50_vm.c +0 -1
index 6144156..1f47c75 100644
@@ -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;
 
Signature · 1 line
1.6.0.2