linux/drivers/net/ethernet/intel/fm10k
Jacob Keller 30b1b498d7 fm10k: reduce scope of the err variable
Reduce the scope of the err local variable in the fm10k_dcbnl_ieee_setets
function.

This was detected using cppcheck, and resolves the following style
warning:

[fm10k_dcbnl.c:37]: (style) The scope of the variable 'err' can be reduced.

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-01 13:57:33 -07:00
..
fm10k_common.c
fm10k_common.h
fm10k_dcbnl.c fm10k: reduce scope of the err variable 2019-08-01 13:57:33 -07:00
fm10k_debugfs.c
fm10k_ethtool.c treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
fm10k_iov.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
fm10k_main.c net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
fm10k_mbx.c
fm10k_mbx.h
fm10k_netdev.c fm10k: remove ndo_poll_controller 2018-09-23 21:55:24 -07:00
fm10k_pci.c fm10k: Use dev_get_drvdata 2019-07-23 13:02:41 -07:00
fm10k_pf.c fm10k: TRIVIAL cleanup of extra spacing in function comment 2019-02-05 16:08:55 -08:00
fm10k_pf.h
fm10k_tlv.c
fm10k_tlv.h
fm10k_type.h fm10k: add missing device IDs to the upstream driver 2018-10-31 10:43:13 -07:00
fm10k_vf.c
fm10k_vf.h
fm10k.h fm10k: remove ndo_poll_controller 2018-09-23 21:55:24 -07:00
Makefile