Skip to content

Commit

Permalink
staging: vme: tsi148: remove double freeing of the IRQ in .remove
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emilio G. Cota authored and Greg Kroah-Hartman committed Nov 16, 2010
1 parent b558ba2 commit b12ef0b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/vme/bridges/vme_tsi148.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b12ef0b

Please sign in to comment.