diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-03-30 05:02:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-30 23:51:10 -0700 |
commit | b05b7d9563f11bf3d7b7f3f53cd74cbfab107355 (patch) | |
tree | 1d8a95ba1373a5ec8f1f591751bd8bc2dffd2229 /drivers/net/arm | |
parent | e446630c960946b5c1762e4eadb618becef599e7 (diff) | |
download | op-kernel-dev-b05b7d9563f11bf3d7b7f3f53cd74cbfab107355.zip op-kernel-dev-b05b7d9563f11bf3d7b7f3f53cd74cbfab107355.tar.gz |
net: remove redundant code
eth_type_trans(skb, netdev) does the "skb->dev = netdev;"
initialization, we can remove it from various network drivers.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arm')
-rw-r--r-- | drivers/net/arm/w90p910_ether.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/arm/w90p910_ether.c b/drivers/net/arm/w90p910_ether.c index febd813..3302df2 100644 --- a/drivers/net/arm/w90p910_ether.c +++ b/drivers/net/arm/w90p910_ether.c @@ -743,7 +743,6 @@ static void netdev_rx(struct net_device *dev) return; } - skb->dev = dev; skb_reserve(skb, 2); skb_put(skb, length); skb_copy_to_linear_data(skb, data, length); |