]> git.baikalelectronics.ru Git - kernel.git/commit
staging: hv: Removed unneeded call to netif_stop_queue() in hv_netvsc
authorHank Janssen <hjanssen@microsoft.com>
Fri, 7 Jan 2011 17:25:39 +0000 (09:25 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Jan 2011 19:58:27 +0000 (11:58 -0800)
commite2e55ce684f797a88c8c2d1074945f3b917536fc
tree9e29a9aaefb13cdb9da4362b62e30662f37644bf
parent9e66cdc4da64fa5283c1fbf98104db25c7ae3f6f
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>
drivers/staging/hv/netvsc_drv.c