From: Phil Sutter Date: Tue, 18 Aug 2015 08:30:34 +0000 (+0200) Subject: net: team: convert to using IFF_NO_QUEUE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=22e380a649371dc2182c39f03887aad2576e11cd;p=openwrt%2Fstaging%2Fblogic.git net: team: convert to using IFF_NO_QUEUE Signed-off-by: Phil Sutter Cc: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index daa054b3ff03..651d35ea22c5 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.c @@ -2051,9 +2051,9 @@ static void team_setup(struct net_device *dev) dev->netdev_ops = &team_netdev_ops; dev->ethtool_ops = &team_ethtool_ops; dev->destructor = team_destructor; - dev->tx_queue_len = 0; dev->flags |= IFF_MULTICAST; dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_TX_SKB_SHARING); + dev->priv_flags |= IFF_NO_QUEUE; /* * Indicate we support unicast address filtering. That way core won't