summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorHank Janssen <hjanssen@microsoft.com>2011-01-07 09:25:39 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-17 15:13:47 -0800
commit80b9874196d139e0b2fb824d9df633ee2626bc73 (patch)
tree1cdbd610ba92fa9b8d8a208f550f94d91cf55bc8 /drivers/staging
parent20b725b8b1138e9ee42956ef8d5bd8c9749b204c (diff)
staging: hv: Removed unneeded call to netif_stop_queue() in hv_netvsc
commit a786f915274ba446865a996515c7790a930f04dd upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/hv/netvsc_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c
index 141535295a41..3a8f6020ee5c 100644
--- a/drivers/staging/hv/netvsc_drv.c
+++ b/drivers/staging/hv/netvsc_drv.c
@@ -355,7 +355,6 @@ static int netvsc_probe(struct device *device)
/* Set initial state */
netif_carrier_off(net);
- netif_stop_queue(net);
net_device_ctx = netdev_priv(net);
net_device_ctx->device_ctx = device_ctx;