]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[AGPGART] remove unused variable
authorAdrian Bunk <bunk@stusta.de>
Thu, 9 Nov 2006 08:54:54 +0000 (09:54 +0100)
committerAdrian Bunk <bunk@stusta.de>
Thu, 9 Nov 2006 08:54:54 +0000 (09:54 +0100)
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 b32a1ee59dd0f100a251e39d172e701f6b354626..b1db5598eaf139109c95f7d573240980552899a9 100644 (file)
@@ -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);