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-Tag: MMI-PSA29.97-13-9~18194^2~543 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e7c379d2a0dcb8c30cb580184a0df11805464703;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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]);