net: remove redundant code
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 30 Mar 2010 05:02:15 +0000 (05:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Mar 2010 06:51:10 +0000 (23:51 -0700)
commitb05b7d9563f11bf3d7b7f3f53cd74cbfab107355
tree1d8a95ba1373a5ec8f1f591751bd8bc2dffd2229
parente446630c960946b5c1762e4eadb618becef599e7
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>
14 files changed:
drivers/net/arm/w90p910_ether.c
drivers/net/atl1c/atl1c_main.c
drivers/net/atl1e/atl1e_main.c
drivers/net/atlx/atl2.c
drivers/net/bcm63xx_enet.c
drivers/net/benet/be_main.c
drivers/net/fec_mpc52xx.c
drivers/net/greth.c
drivers/net/ibm_newemac/core.c
drivers/net/ks8851_mll.c
drivers/net/ksz884x.c
drivers/net/s6gmac.c
drivers/net/tehuti.c
drivers/net/xilinx_emaclite.c