Browse Source

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>
Emilio G. Cota 14 years ago
parent
commit
b12ef0b1f5
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/staging/vme/bridges/vme_tsi148.c

+ 0 - 2
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);