diff options
author | Pavel Belous <pavel.belous@aquantia.com> | 2017-02-20 20:36:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-20 23:11:09 +0100 |
commit | 99e5582730eb18c5ab4402ba1edc73ec3fd5ba2b (patch) | |
tree | 3177f7dd3b08db3004429c12d65e1ca30bf3859e | |
parent | net: qlogic: qlge: use new api ethtool_{get|set}_link_ksettings (diff) | |
download | linux-99e5582730eb18c5ab4402ba1edc73ec3fd5ba2b.tar.xz linux-99e5582730eb18c5ab4402ba1edc73ec3fd5ba2b.zip |
net: ethernet: aquantia: Removed extra assignment for skb->dev.
This assignment is not needed.
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Reviewed-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/aquantia/atlantic/aq_ring.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_ring.c b/drivers/net/ethernet/aquantia/atlantic/aq_ring.c index fed6ac51559f..22bb75eff274 100644 --- a/drivers/net/ethernet/aquantia/atlantic/aq_ring.c +++ b/drivers/net/ethernet/aquantia/atlantic/aq_ring.c @@ -209,7 +209,6 @@ int aq_ring_rx_clean(struct aq_ring_s *self, int *work_done, int budget) goto err_exit; } - skb->dev = ndev; skb_put(skb, buff->len); } else { skb = netdev_alloc_skb(ndev, ETH_HLEN); |