Searched hist:"9 aac0fbd471bf09b614b2038faddc91f53b788bb" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_pci.c | 9aac0fbd471bf09b614b2038faddc91f53b788bb Mon Jul 08 23:12:32 UTC 2019 Jacob Keller <jacob.e.keller@intel.com> 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 <jacob.e.keller@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|