[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1497358189-3342-1-git-send-email-zhangshengju@cmss.chinamobile.com>
Date: Tue, 13 Jun 2017 20:49:49 +0800
From: Zhang Shengju <zhangshengju@...s.chinamobile.com>
To: davem@...emloft.net, izumi.taku@...fujitsu.com,
netdev@...r.kernel.org
Subject: [net-next] fjes: remove duplicate set of flag IFF_BROADCAST
Remove unnecessary set of flag IFF_BROADCAST, since ether_setup
already does this.
Signed-off-by: Zhang Shengju <zhangshengju@...s.chinamobile.com>
---
drivers/net/fjes/fjes_main.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c
index ae48c80..b56e07f 100644
--- a/drivers/net/fjes/fjes_main.c
+++ b/drivers/net/fjes/fjes_main.c
@@ -1348,7 +1348,6 @@ static void fjes_netdev_setup(struct net_device *netdev)
netdev->mtu = fjes_support_mtu[3];
netdev->min_mtu = fjes_support_mtu[0];
netdev->max_mtu = fjes_support_mtu[3];
- netdev->flags |= IFF_BROADCAST;
netdev->features |= NETIF_F_HW_VLAN_CTAG_FILTER;
}
--
1.8.3.1
Powered by blists - more mailing lists