aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-07-14 17:38:17 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-14 17:38:17 -0400
commit512e4002ab9ac54a2d8f7f198a9cd503dcc3c161 (patch)
tree98124fa6d1a640e852d4dd591dc00e496509bb11 /arch/m68k
parenteff896ce0b4231a998d8b3aa81e846ffc4f6c0a4 (diff)
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>
Diffstat (limited to 'arch/m68k')
-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)
205 dev->irq = nfEtherIRQ; 205 dev->irq = nfEtherIRQ;
206 dev->netdev_ops = &nfeth_netdev_ops; 206 dev->netdev_ops = &nfeth_netdev_ops;
207 207
208 dev->flags |= NETIF_F_NO_CSUM;
209 memcpy(dev->dev_addr, mac, ETH_ALEN); 208 memcpy(dev->dev_addr, mac, ETH_ALEN);
210 209
211 priv = netdev_priv(dev); 210 priv = netdev_priv(dev);