sfc: elide assignment of skb
authorEdward Cree <ecree@solarflare.com>
Tue, 18 Feb 2020 17:34:00 +0000 (17:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Feb 2020 20:40:49 +0000 (12:40 -0800)
commit00796b929ce8c9e7567fe7e395763418eb579100
tree6f618ffc53064dfee7184788431c69548b268918
parent272bb0e9e8cdc76e04baeefa0cd43019daa0841b
sfc: elide assignment of skb

Instead of assigning skb = segments before the loop, just pass
 segments directly as the first argument to skb_list_walk_safe().

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/tx.c