projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5da451
)
rtnetlink: remove initialization of dev->real_num_tx_queues
author
Jiri Pirko
<jpirko@redhat.com>
Wed, 10 Aug 2011 06:09:45 +0000
(06:09 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 11 Aug 2011 14:44:38 +0000
(07:44 -0700)
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>
net/core/rtnetlink.c
patch
|
blob
|
history
diff --git
a/net/core/rtnetlink.c
b/net/core/rtnetlink.c
index 99d9e953fe3953adf96cc44cf85be380b6b3ff55..39f8dd6a2821620fca1c1ba932065435da41ab6c 100644
(file)
--- 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]);