mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] gpu: drm: nouveau: Remove unused variable to prevent compile warning.
@ 2011-02-20 17:58 Ralf Thielow
  2011-02-20 22:16 ` Ben Skeggs
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf Thielow @ 2011-02-20 17:58 UTC (permalink / raw)
  To: airlied; +Cc: bskeggs, dri-devel, linux-kernel, Ralf Thielow

Remove unused variable "dev_priv" in function "nv50_vm_map_pgt" to
prevent compile warning.

Signed-off-by: Ralf Thielow <ralf.thielow@googlemail.com>
---
 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 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;
 
-- 
1.7.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gpu: drm: nouveau: Remove unused variable to prevent compile warning.
  2011-02-20 17:58 [PATCH] gpu: drm: nouveau: Remove unused variable to prevent compile warning Ralf Thielow
@ 2011-02-20 22:16 ` Ben Skeggs
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Skeggs @ 2011-02-20 22:16 UTC (permalink / raw)
  To: Ralf Thielow; +Cc: airlied, dri-devel, linux-kernel

On Sun, 2011-02-20 at 18:58 +0100, Ralf Thielow wrote:
> 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.
> Signed-off-by: Ralf Thielow <ralf.thielow@googlemail.com>
> ---
>  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 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;
>  



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-20 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-20 17:58 [PATCH] gpu: drm: nouveau: Remove unused variable to prevent compile warning Ralf Thielow
2011-02-20 22:16 ` Ben Skeggs

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

all inboxes | Powered by JetHome®