Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7c379d2 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

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: default avatarJiri Pirko <jpirko@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d5da4510
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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]);