netdev: ethernet dev_alloc_skb to netdev_alloc_skb
Replaced deprecating dev_alloc_skb with netdev_alloc_skb in drivers/net/ethernet - Removed extra skb->dev = dev after netdev_alloc_skb Signed-off-by: Pradeep A Dalvi <netdev@pradeepdalvi.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
21a4e46995
commit
c056b734e5
@@ -744,9 +744,6 @@ static int ipg_get_rxbuff(struct net_device *dev, int entry)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
/* Associate the receive buffer with the IPG NIC. */
|
||||
skb->dev = dev;
|
||||
|
||||
/* Save the address of the sk_buff structure. */
|
||||
sp->rx_buff[entry] = skb;
|
||||
|
||||
|
Reference in New Issue
Block a user