gpu: drm: nouveau: Remove unused variable to prevent compile warning.
Subsystems (3)
PATCH 1/1 gpu: drm: nouveau: Remove unused variable to prevent compile warning.
Remove unused variable "dev_priv" in function "nv50_vm_map_pgt" to prevent compile warning.
Signed-off-by Ralf Thielow <[email protected]>
--- drivers/gpu/drm/nouveau/nv50_vm.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/gpu/drm/nouveau/nv50_vm.c +0 -1
@@ -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.7.1
Quoted 3 lines · Ralf Thielow
Remove unused variable "
dev_priv" in function "nv50_vm_map_pgt" to prevent compile warning.
Thanks for this, however, it has already been fixed in the nouveau tree.
Ben.
Quoted 17 lines
Signed-off-by Ralf Thielow <[email protected]>--- drivers/gpu/drm/nouveau/nv50_vm.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)drivers/gpu/drm/nouveau/nv50_vm.c +0
-1@@ -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 ;