diff options
author | Jiri Pirko <jpirko@redhat.com> | 2011-08-10 02:09:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-11 10:44:38 -0400 |
commit | e7c379d2a0dcb8c30cb580184a0df11805464703 (patch) | |
tree | b9fa6855345c6031226759fe71166bece3625001 /net/core | |
parent | d5da4510a742bb85182dcab8a47f63baaebb5ec3 (diff) |
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 <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/rtnetlink.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
1604 | dev_net_set(dev, net); | 1604 | dev_net_set(dev, net); |
1605 | dev->rtnl_link_ops = ops; | 1605 | dev->rtnl_link_ops = ops; |
1606 | dev->rtnl_link_state = RTNL_LINK_INITIALIZING; | 1606 | dev->rtnl_link_state = RTNL_LINK_INITIALIZING; |
1607 | dev->real_num_tx_queues = real_num_queues; | ||
1608 | 1607 | ||
1609 | if (tb[IFLA_MTU]) | 1608 | if (tb[IFLA_MTU]) |
1610 | dev->mtu = nla_get_u32(tb[IFLA_MTU]); | 1609 | dev->mtu = nla_get_u32(tb[IFLA_MTU]); |