diff options
author | Emilio G. Cota <cota@braap.org> | 2010-11-12 11:14:40 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-16 19:40:15 (GMT) |
commit | b12ef0b1f5d0358bc13cc716155d6e9b5584af48 (patch) | |
tree | 5a14bbed7914ecb3a3cc56f4533bc82ffa5b33da /drivers/staging/vme | |
parent | b558ba2f356c28269de179c4f7f6f179a4fa6a1d (diff) | |
download | linux-fsl-qoriq-b12ef0b1f5d0358bc13cc716155d6e9b5584af48.tar.xz |
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>
Diffstat (limited to 'drivers/staging/vme')
-rw-r--r-- | drivers/staging/vme/bridges/vme_tsi148.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/vme/bridges/vme_tsi148.c b/drivers/staging/vme/bridges/vme_tsi148.c index 5c25cd8..2f8f399 100644 --- a/drivers/staging/vme/bridges/vme_tsi148.c +++ b/drivers/staging/vme/bridges/vme_tsi148.c @@ -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); |