public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix warning: unused variable ‘dev_priv’ drivers/gpu/drm/nouveau/nv50_vm.c
@ 2011-04-06 11:29 helight.xu
  0 siblings, 0 replies; only message in thread
From: helight.xu @ 2011-04-06 11:29 UTC (permalink / raw)
  To: airlied <airlied@linux.ie>; dri-devel; +Cc: linux-kernel


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

Signed-off-by: helight <helight@zhwen.org>
---
  drivers/gpu/drm/nouveau/nv50_vm.c |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nv50_vm.c 
b/drivers/gpu/drm/nouveau/nv50_vm.c
index 6144156..1f47c75 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;

-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-06 11:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-06 11:29 [PATCH] fix warning: unused variable ‘dev_priv’ drivers/gpu/drm/nouveau/nv50_vm.c helight.xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox