aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAuke Kok <[email protected]>2007-05-16 01:49:46 -0700
committerJeff Garzik <[email protected]>2007-05-17 20:43:15 -0400
commite94bd23f67c87011f012f26ca0af3fcf6878eeac (patch)
tree59bd2c79007363beee0c50084e63f7840999bdfa /tools/perf/scripts/python
parentfb136c070bfdde11dc79758674f54fb26bba1a2f (diff)
e1000: Fix msi enable leak on error, don't print error message, cleanup
pci_enable_msi failure is a normal event so we should not print any error. Going over the code I spotted a missing pci_disable_msi() leak when irq allocation fails. The whole code also needed a cleanup, so I combined the two different calls to pci_request_irq into a single call making this look a lot better. All #ifdef CONFIG_PCI_MSI's have been removed. Compile tested with both CONFIG_PCI_MSI enabled and disabled. Signed-off-by: Auke Kok <[email protected]> Cc: H. Peter Anvin <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions