Skip to content

Commit

Permalink
net: m68k/nfeth: Remove wrong usage of dev->flags
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
osctobe authored and davem330 committed Jul 14, 2011
1 parent eff896c commit 512e400
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/m68k/emu/nfeth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 512e400

Please sign in to comment.