team: remove duplicate set of flag IFF_MULTICAST
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>
Wed, 16 Mar 2016 09:59:16 +0000 (09:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Mar 2016 02:14:47 +0000 (22:14 -0400)
Remove unnecessary set of flag IFF_MULTICAST, since ether_setup
already does this.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c

index 2769835f48ca862cd4afb618e90204eb37d70bd7..26c64d2782fa06a1bd85433cee6aab04a830be6e 100644 (file)
@@ -2082,7 +2082,6 @@ static void team_setup(struct net_device *dev)
        dev->netdev_ops = &team_netdev_ops;
        dev->ethtool_ops = &team_ethtool_ops;
        dev->destructor = team_destructor;
-       dev->flags |= IFF_MULTICAST;
        dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_TX_SKB_SHARING);
        dev->priv_flags |= IFF_NO_QUEUE;
        dev->priv_flags |= IFF_TEAM;