diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-23 09:08:48 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-09-09 10:08:38 -0700 |
commit | 0ea7e88d3f3d38bc79874cd1054915233ed85f52 (patch) | |
tree | ccf207d4d3e3e2d907e3c0d7456cfbc36463b4a8 /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | 675ab6509a0163e9a41f63465dd1587b1b04172f (diff) | |
download | linux-0ea7e88d3f3d38bc79874cd1054915233ed85f52.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions