mirror of https://gitee.com/openkylin/linux.git
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:
parent
b558ba2f35
commit
b12ef0b1f5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue