linux/drivers/net/ethernet/intel/fm10k
Jacob Keller 9aac0fbd47 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>
2019-08-04 04:32:47 -07:00
..
fm10k_common.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_common.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_dcbnl.c fm10k: reduce scope of the err variable 2019-08-01 13:57:33 -07:00
fm10k_debugfs.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_ethtool.c fm10k: reduce the scope of qv local variable 2019-08-01 14:09:39 -07:00
fm10k_iov.c fm10k: reduce the scope of local err variable 2019-08-01 14:13:18 -07:00
fm10k_main.c fm10k: reduce the scope of the q_idx local variable 2019-08-01 14:15:16 -07:00
fm10k_mbx.c fm10k: reduce the scope of the local msg variable 2019-08-01 14:57:38 -07:00
fm10k_mbx.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_netdev.c fm10k: remove needless initialization of size local variable 2019-08-04 04:31:03 -07:00
fm10k_pci.c fm10k: explicitly return 0 on success path in function 2019-08-04 04:32:47 -07:00
fm10k_pf.c fm10k: reduce the scope of the result local variable 2019-08-01 14:59:21 -07:00
fm10k_pf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_tlv.c fm10k: remove unnecessary variable initializer 2019-08-04 04:20:42 -07:00
fm10k_tlv.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_type.h fm10k: add missing device IDs to the upstream driver 2018-10-31 10:43:13 -07:00
fm10k_vf.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_vf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k.h fm10k: remove ndo_poll_controller 2018-09-23 21:55:24 -07:00
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00