staging: hv: Removed unneeded call to netif_stop_queue() in hv_netvsc

Removed the call to netif_stop_queue() in netvsc_probe() as
the queue is not initialized at that point and further call
to it after queue initialization is really not necessary.

This change was prompted after an upstream change went into
2.6.37 (netif_tx_stop_queue) that now checks if netif_stop_queue
is called before register with netdev is done.

This will eliminate the warning message to the log when hv_netvsc
driver starts up.

Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Hank Janssen and committed by
Greg Kroah-Hartman
a786f915 d70c6731

-1
-1
drivers/staging/hv/netvsc_drv.c
··· 358 359 /* Set initial state */ 360 netif_carrier_off(net); 361 - netif_stop_queue(net); 362 363 net_device_ctx = netdev_priv(net); 364 net_device_ctx->device_ctx = device_ctx;
··· 358 359 /* Set initial state */ 360 netif_carrier_off(net); 361 362 net_device_ctx = netdev_priv(net); 363 net_device_ctx->device_ctx = device_ctx;