From: Zhang Shengju Date: Tue, 13 Jun 2017 12:49:49 +0000 (+0800) Subject: fjes: remove duplicate set of flag IFF_BROADCAST X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fb34a368592aa842549b9637739bae000e84ff81;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git fjes: remove duplicate set of flag IFF_BROADCAST Remove unnecessary setting of flag IFF_BROADCAST, since ether_setup already does this. Signed-off-by: Zhang Shengju Signed-off-by: David S. Miller --- diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index ae48c809bac9..b56e07fa44a8 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; }