From: Jiri Pirko Date: Wed, 10 Aug 2011 06:09:45 +0000 (+0000) Subject: rtnetlink: remove initialization of dev->real_num_tx_queues X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e7c379d2a0dcb8c30cb580184a0df11805464703;p=openwrt%2Fstaging%2Fblogic.git rtnetlink: remove initialization of dev->real_num_tx_queues dev->real_num_tx_queues is correctly set already in alloc_netdev_mqs. Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 99d9e953fe39..39f8dd6a2821 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -1604,7 +1604,6 @@ struct net_device *rtnl_create_link(struct net *src_net, struct net *net, dev_net_set(dev, net); dev->rtnl_link_ops = ops; dev->rtnl_link_state = RTNL_LINK_INITIALIZING; - dev->real_num_tx_queues = real_num_queues; if (tb[IFLA_MTU]) dev->mtu = nla_get_u32(tb[IFLA_MTU]);