diff options
author | Pradeep A Dalvi <netdev@pradeepdalvi.com> | 2012-02-05 03:49:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-06 17:41:20 +0100 |
commit | 1d266430546acf01438ae42d0a7370db4817e2ad (patch) | |
tree | 149268ba8ad2b3288ae001e5ab28146e4361a6d0 /drivers/net/ethernet/amd/am79c961a.c | |
parent | cnic: Add FCoE parity error recovery (diff) | |
download | linux-1d266430546acf01438ae42d0a7370db4817e2ad.tar.xz linux-1d266430546acf01438ae42d0a7370db4817e2ad.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/amd/am79c961a.c')
-rw-r--r-- | drivers/net/ethernet/amd/am79c961a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/am79c961a.c b/drivers/net/ethernet/amd/am79c961a.c index 216ae87b9459..cc7b9e46780c 100644 --- a/drivers/net/ethernet/amd/am79c961a.c +++ b/drivers/net/ethernet/amd/am79c961a.c @@ -516,7 +516,7 @@ am79c961_rx(struct net_device *dev, struct dev_priv *priv) } len = am_readword(dev, hdraddr + 6); - skb = dev_alloc_skb(len + 2); + skb = netdev_alloc_skb(dev, len + 2); if (skb) { skb_reserve(skb, 2); |