Commit b12ef0b1 authored by Emilio G. Cota's avatar Emilio G. Cota Committed by Greg Kroah-Hartman

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: default avatarEmilio G. Cota <cota@braap.org>
Acked-by: default avatarMartyn Welch <martyn.welch@ge.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b558ba2f
...@@ -2611,8 +2611,6 @@ static void tsi148_remove(struct pci_dev *pdev) ...@@ -2611,8 +2611,6 @@ static void tsi148_remove(struct pci_dev *pdev)
kfree(master_image); kfree(master_image);
} }
tsi148_irq_exit(bridge, pdev);
iounmap(bridge->base); iounmap(bridge->base);
pci_release_regions(pdev); pci_release_regions(pdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment