From: Jiri Pirko <jpirko@redhat.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, eric.dumazet@gmail.com, fubar@us.ibm.com,
andy@greyhouse.net, tgraf@infradead.org, ebiederm@xmission.com
Subject: [patch net-next-2.6 2/2] rtnetlink: remove initialization of dev->real_num_tx_queues
Date: Wed, 10 Aug 2011 18:09:45 +0200 [thread overview]
Message-ID: <1312992585-1201-3-git-send-email-jpirko@redhat.com> (raw)
In-Reply-To: <1312992585-1201-1-git-send-email-jpirko@redhat.com>
dev->real_num_tx_queues is correctly set already in alloc_netdev_mqs.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
---
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 99d9e95..39f8dd6 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]);
--
1.7.6
next prev parent reply other threads:[~2011-08-10 16:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-10 16:09 [patch net-next-2.6 0/2] bonding: create same number of queues on all creations Jiri Pirko
2011-08-10 16:09 ` [patch net-next-2.6 1/2] bonding: implement get_tx_queues rtnk_link_op Jiri Pirko
2011-08-10 16:09 ` Jiri Pirko [this message]
2011-08-11 14:44 ` [patch net-next-2.6 0/2] bonding: create same number of queues on all creations David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1312992585-1201-3-git-send-email-jpirko@redhat.com \
--to=jpirko@redhat.com \
--cc=andy@greyhouse.net \
--cc=davem@davemloft.net \
--cc=ebiederm@xmission.com \
--cc=eric.dumazet@gmail.com \
--cc=fubar@us.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=tgraf@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).