linux/drivers/net/ethernet/intel/fm10k
Jacob Keller df87b8fcf8 fm10k: reduce scope of the ring variable
Reduce the scope of the ring local variable in the fm10k_assign_l2_accel
function.

This was detected by cppcheck and resolves the following warning
produced by that tool:

[fm10k_netdev.c:1447]: (style) The scope of the variable 'ring' 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 15:04:35 -07:00
..
fm10k.h
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 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
fm10k_netdev.c fm10k: reduce scope of the ring variable 2019-08-01 15:04:35 -07:00
fm10k_pci.c fm10k: reduce the scope of the local i variable 2019-08-01 14:50:19 -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
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
Makefile