Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb34a368 authored by Zhang Shengju's avatar Zhang Shengju Committed by David S. Miller
Browse files

fjes: remove duplicate set of flag IFF_BROADCAST



Remove unnecessary setting of flag IFF_BROADCAST, since ether_setup
already does this.

Signed-off-by: default avatarZhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aa9f979c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}