public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "helight.xu" <helight.xu@gmail.com>
To: "airlied <airlied@linux.ie>; dri-devel" 
	<dri-devel@lists.freedesktop.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] fix warning: unused variable ‘dev_priv’ drivers/gpu/drm/nouveau/nv50_vm.c
Date: Wed, 06 Apr 2011 19:29:47 +0800	[thread overview]
Message-ID: <4D9C4EAB.5080101@gmail.com> (raw)


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


                 reply	other threads:[~2011-04-06 11:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D9C4EAB.5080101@gmail.com \
    --to=helight.xu@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox