staging: vme: tsi148: remove double freeing of the IRQ in .remove
authorEmilio G. Cota <cota@braap.org>
Fri, 12 Nov 2010 11:14:40 +0000 (11:14 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 19:40:15 +0000 (11:40 -0800)
tsi148_irq_exit is called twice in .remove, which causes an oops.

Remove the second call, which apart from being redundant cannot
possibly work; the CR/CSR space has been already unmapped.

Signed-off-by: Emilio G. Cota <cota@braap.org>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vme/bridges/vme_tsi148.c

index 5c25cd8..2f8f399 100644 (file)
@@ -2611,8 +2611,6 @@ static void tsi148_remove(struct pci_dev *pdev)
                kfree(master_image);
        }
 
-       tsi148_irq_exit(bridge, pdev);
-
        iounmap(bridge->base);
 
        pci_release_regions(pdev);