1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel/fm10k
Jacob Keller 0ea7e88d3f fm10k: use a local variable for the frag pointer
In the function fm10k_xmit_frame_ring, we recently switched to using
the skb_frag_size accessor instead of directly using the size member of
the skb fragment.

This made the for loop slightly harder to read because it created a very
long line that is difficult to split up. Avoid this by using a local
variable in the for loop, so that we do not have to break the line on an
open parenthesis.

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-09-09 10:08:38 -07:00
..
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k.h fm10k: convert NON_Q_VECTORS(hw) into NON_Q_VECTORS 2019-08-04 04:40:04 -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 fm10k: no need to check return value of debugfs_create functions 2019-08-10 15:25:48 -07:00
fm10k_ethtool.c fm10k: convert NON_Q_VECTORS(hw) into NON_Q_VECTORS 2019-08-04 04:40:04 -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: use a local variable for the frag pointer 2019-09-09 10:08:38 -07:00
fm10k_mbx.c fm10k: mark unused parameters with __always_unused 2019-08-04 04:36:49 -07:00
fm10k_mbx.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_netdev.c ethernet: Delete unnecessary checks before the macro call “dev_kfree_skb” 2019-08-22 16:22:04 -07:00
fm10k_pci.c fm10k: convert NON_Q_VECTORS(hw) into NON_Q_VECTORS 2019-08-04 04:40:04 -07:00
fm10k_pf.c fm10k: fix fm10k_get_fault_pf to read correct address 2019-08-04 04:41:44 -07:00
fm10k_pf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_tlv.c fm10k: mark unused parameters with __always_unused 2019-08-04 04:36:49 -07:00
fm10k_tlv.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_type.h fm10k: mark unused parameters with __always_unused 2019-08-04 04:36:49 -07:00
fm10k_vf.c fm10k: mark unused parameters with __always_unused 2019-08-04 04:36:49 -07:00
fm10k_vf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00