summaryrefslogtreecommitdiff
path: root/drivers/char/agp
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-06-23 12:55:46 +0200
committerDave Jones <davej@redhat.com>2006-06-24 01:54:14 -0400
commit4280370efe0e9c527ccd6188d6211a10bcb22b1e (patch)
tree34c1e614b5802b63ce1d803a0ea619e1ff334f55 /drivers/char/agp
parent4092e256ca35e62b431ebad4e0c42c6360acee08 (diff)
[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>
Diffstat (limited to 'drivers/char/agp')
-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 b3a53e7f3602..df7f37b2739a 100644
--- a/drivers/char/agp/nvidia-agp.c
+++ b/drivers/char/agp/nvidia-agp.c
@@ -387,8 +387,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);