summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-07-14 23:38:17 +0200
committerDavid S. Miller <davem@davemloft.net>2011-07-14 23:38:17 +0200
commit512e4002ab9ac54a2d8f7f198a9cd503dcc3c161 (patch)
tree98124fa6d1a640e852d4dd591dc00e496509bb11
parentps3_gelic: Don't kill the device on DMA failure (diff)
downloadlinux-512e4002ab9ac54a2d8f7f198a9cd503dcc3c161.tar.xz
linux-512e4002ab9ac54a2d8f7f198a9cd503dcc3c161.zip
net: m68k/nfeth: Remove wrong usage of dev->flags
Remove wrong setting of dev->flags. NETIF_F_NO_CSUM maps to IFF_DEBUG there, so looks like a mistake. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/m68k/emu/nfeth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/m68k/emu/nfeth.c b/arch/m68k/emu/nfeth.c
index 3c55312ecb15..c5748bb4ea71 100644
--- a/arch/m68k/emu/nfeth.c
+++ b/arch/m68k/emu/nfeth.c
@@ -205,7 +205,6 @@ static struct net_device * __init nfeth_probe(int unit)
dev->irq = nfEtherIRQ;
dev->netdev_ops = &nfeth_netdev_ops;
- dev->flags |= NETIF_F_NO_CSUM;
memcpy(dev->dev_addr, mac, ETH_ALEN);
priv = netdev_priv(dev);