netvsc: remove bogus rtnl_unlock
authorstephen hemminger <stephen@networkplumber.org>
Mon, 24 Jul 2017 17:57:25 +0000 (10:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 00:38:28 +0000 (17:38 -0700)
Remove accidental rtnl_unlock from earlier testing.

Fixes: 3962981f4822 ("netvsc: add rtnl annotations in rndis")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c

index 9a9e269..70b7cc3 100644 (file)
@@ -1548,7 +1548,6 @@ static int netvsc_probe(struct hv_device *dev,
 
        netif_set_real_num_tx_queues(net, nvdev->num_chn);
        netif_set_real_num_rx_queues(net, nvdev->num_chn);
-       rtnl_unlock();
 
        netdev_lockdep_set_classes(net);