From: Michał Mirosław Date: Thu, 14 Jul 2011 21:38:17 +0000 (-0700) Subject: net: m68k/nfeth: Remove wrong usage of dev->flags X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=512e4002ab9ac54a2d8f7f198a9cd503dcc3c161;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 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);