staging: vme: tsi148: remove double freeing of the IRQ in .remove

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>
This commit is contained in:
Emilio G. Cota 2010-11-12 11:14:40 +00:00 committed by Greg Kroah-Hartman
parent b558ba2f35
commit b12ef0b1f5
1 changed files with 0 additions and 2 deletions

View 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);