linux/drivers/net/ethernet/intel
Jacob Keller fb381e60b8 fm10k: reduce the scope of the tx_buffer variable
The tx_buffer local variable in the function fm10k_clean_tx_ring is not
used except inside a smaller block scope. Reduce the scope to its point
of use.

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

[fm10k_netdev.c:179]: (style) The scope of the variable 'tx_buffer' 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 14:38:18 -07:00
..
e1000 net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
e1000e e1000e: add workaround for possible stalled packet 2019-07-24 13:55:09 -07:00
fm10k fm10k: reduce the scope of the tx_buffer variable 2019-08-01 14:38:18 -07:00
i40e net: Use skb_frag_off accessors 2019-07-30 14:21:32 -07:00
iavf net: Use skb_frag_off accessors 2019-07-30 14:21:32 -07:00
ice ice: Bump version number 2019-07-31 13:41:09 -07:00
igb igb: Use dev_get_drvdata where possible 2019-07-23 13:02:42 -07:00
igbvf net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
igc igc: Add more SKUs for i225 device 2019-07-24 13:55:09 -07:00
ixgb net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
ixgbe net: Use skb_frag_off accessors 2019-07-30 14:21:32 -07:00
ixgbevf net/ixgbevf: fix a compilation error of skb_frag_t 2019-07-24 15:28:43 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00
e100.c intel: correct return from set features callback 2019-03-19 14:18:49 -07:00