瀏覽代碼

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>
Michał Mirosław 14 年之前
父節點
當前提交
512e4002ab
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/m68k/emu/nfeth.c

+ 0 - 1
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);