From: Zhang Shengju Date: Wed, 16 Mar 2016 09:59:16 +0000 (+0000) Subject: team: remove duplicate set of flag IFF_MULTICAST X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bc0df13887b1147f4e63390d7d6767f7fa64b91b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git team: remove duplicate set of flag IFF_MULTICAST Remove unnecessary set of flag IFF_MULTICAST, since ether_setup already does this. Signed-off-by: Zhang Shengju Acked-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index 2769835f48ca..26c64d2782fa 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.c @@ -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;