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…
Reference in New Issue