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 коммит произвёл Greg Kroah-Hartman
Родитель b558ba2f35
Коммит b12ef0b1f5
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

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