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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

Signed-off-by: helight <helight@xxxxxxxxx>
---
 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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux