summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-09 09:54:54 +0100
committerAdrian Bunk <bunk@stusta.de>2006-11-09 09:54:54 +0100
commitc3fe9b53262fb22a7aaacf448e911f267c5482a9 (patch)
treeead71a3d5680367b6b511406a459e3cede437023
parent8a3decfebb02774c7db8df2a439e106ce983549c (diff)
downloadlwn-c3fe9b53262fb22a7aaacf448e911f267c5482a9.tar.gz
lwn-c3fe9b53262fb22a7aaacf448e911f267c5482a9.zip
[AGPGART] remove unused variable
This patch removes an unused variable. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Dave Jones <davej@redhat.com>
-rw-r--r--drivers/char/agp/nvidia-agp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/agp/nvidia-agp.c b/drivers/char/agp/nvidia-agp.c
index b32a1ee59dd0..b1db5598eaf1 100644
--- a/drivers/char/agp/nvidia-agp.c
+++ b/drivers/char/agp/nvidia-agp.c
@@ -386,8 +386,6 @@ static int agp_nvidia_suspend(struct pci_dev *pdev, pm_message_t state)
static int agp_nvidia_resume(struct pci_dev *pdev)
{
- struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
-
/* set power state 0 and restore PCI space */
pci_set_power_state (pdev, 0);
pci_restore_state(pdev);