net/mlx4_en: Use local var for skb_headlen(skb)
authorEric Dumazet <edumazet@google.com>
Sun, 5 Oct 2014 09:35:18 +0000 (12:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 05:04:15 +0000 (01:04 -0400)
commite533ac7ea00c39f5ef4ab0976dd2662d50fa42a1
tree496ebf72408cab29e8f348125d9fbf32b3972e54
parentb9d8839a44092cb4268ef2813c34d5dbf3363603
net/mlx4_en: Use local var for skb_headlen(skb)

Access skb_headlen() once in tx flow

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c