net/mlx4_en: Replace netdev parameter with priv in XDP xmit function
authorTariq Toukan <tariqt@mellanox.com>
Wed, 11 Oct 2017 10:17:25 +0000 (13:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Oct 2017 03:21:23 +0000 (20:21 -0700)
commit5dad61b83840d7eceaba5bf316419be11bbb993a
treec07691dc642b796a0e3f4870426dd43eaeda020c
parent14c68c43b7695cbcfe148bf3c513b598c2886e7d
net/mlx4_en: Replace netdev parameter with priv in XDP xmit function

The struct net_device parameter was passed only to extract
struct mlx4_en_priv out of it.
Here we pass the priv parameter directly.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h