aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorSudip Mukherjee <[email protected]>2016-02-27 17:33:33 +0530
committerGreg Kroah-Hartman <[email protected]>2016-03-11 22:09:09 -0800
commite9961fc16f9f11979df616b749d36cf389082047 (patch)
tree47a29eaec60f07d1395180ed9cf115d76a096b6b /tools/perf/scripts/python/check-perf-trace.py
parent757b816e40235e03e1d90c7ec06dad7a684282f3 (diff)
staging: dgnc: remove pci_unregister_driver
If pci_register_driver() fails then dgnc_NumBoards can never be more than zero. dgnc_NumBoards is incremented only at the end of a successful probe. And moreover if the pci driver has failed to register then we never need to unregister it. Lets just print the warning, perform the cleanup and exit with the error code. Signed-off-by: Sudip Mukherjee <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions