[AGPGART] remove unused variable
authorAdrian Bunk <bunk@stusta.de>
Fri, 23 Jun 2006 10:55:46 +0000 (12:55 +0200)
committerDave Jones <davej@redhat.com>
Sat, 24 Jun 2006 05:54:14 +0000 (01:54 -0400)
This patch removes an unused variable.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/nvidia-agp.c

index b3a53e7f360272e66852a638d0b37d05a08f4f68..df7f37b2739abe007a9f9f629f301941f65cadf7 100644 (file)
@@ -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);