diff options
author | Jacob Keller <[email protected]> | 2019-07-08 16:12:32 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2019-08-04 04:32:47 -0700 |
commit | 9aac0fbd471bf09b614b2038faddc91f53b788bb (patch) | |
tree | eca6021e44d0d61eb873bc15250dfa0b9eaa0f00 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | cb1b5226cbdf0bc01dcdd8d422d4051fec1b77ef (diff) |
fm10k: explicitly return 0 on success path in function
In the fm10k_handle_resume function, return 0 explicitly at the end of
the function instead of returning the err value.
This was detected by cppcheck and resolves the following style warning
produced by that tool:
[fm10k_pci.c:2768] -> [fm10k_pci.c:2787]: (warning) Identical condition
'err', second condition is always false
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions