forked from Minki/linux
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>
This commit is contained in:
parent
45ee2440a3
commit
99e5582730
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user