summaryrefslogtreecommitdiffstats
path: root/drivers/net/fjes
diff options
context:
space:
mode:
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>2017-06-13 14:49:49 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-13 19:54:51 +0200
commitfb34a368592aa842549b9637739bae000e84ff81 (patch)
tree968b5febfa8fd9266a5730680e3f815e3127a903 /drivers/net/fjes
parentnetworking: use skb_put_zero() (diff)
downloadlinux-fb34a368592aa842549b9637739bae000e84ff81.tar.xz
linux-fb34a368592aa842549b9637739bae000e84ff81.zip
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>
Diffstat (limited to 'drivers/net/fjes')
-rw-r--r--drivers/net/fjes/fjes_main.c1
1 files changed, 0 insertions, 1 deletions
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;
}