diff options
author | Pradeep A Dalvi <netdev@pradeepdalvi.com> | 2012-02-05 03:50:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-06 17:48:09 +0100 |
commit | 21a4e46995fa1a76281ac0281ff837f706231a37 (patch) | |
tree | 3e57d5f21bbc8ec7e625f05e548957f0b4e54013 /drivers/net/ethernet/dlink/de600.c | |
parent | netdev: ethernet dev_alloc_skb to netdev_alloc_skb (diff) | |
download | linux-21a4e46995fa1a76281ac0281ff837f706231a37.tar.xz linux-21a4e46995fa1a76281ac0281ff837f706231a37.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/dlink/de600.c')
-rw-r--r-- | drivers/net/ethernet/dlink/de600.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/dlink/de600.c b/drivers/net/ethernet/dlink/de600.c index c24fab1e9cbe..682750c052c8 100644 --- a/drivers/net/ethernet/dlink/de600.c +++ b/drivers/net/ethernet/dlink/de600.c @@ -335,7 +335,7 @@ static void de600_rx_intr(struct net_device *dev) return; } - skb = dev_alloc_skb(size+2); + skb = netdev_alloc_skb(dev, size + 2); if (skb == NULL) { printk("%s: Couldn't allocate a sk_buff of size %d.\n", dev->name, size); return; |