mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-14 09:47:20 +00:00
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 <zhangshengju@cmss.chinamobile.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
aa9f979c41
commit
fb34a36859
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user