staging: hv: remove unnecessary code in netvsc_probe().
authorHaiyang Zhang <haiyangz@microsoft.com>
Mon, 23 May 2011 16:03:45 +0000 (09:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:35:59 +0000 (13:35 -0700)
commitb1956a81af0c23d65a4cafee9e39c52e4c6cadcc
tree2bd3a957a3cbd51de49755f0b2973544b687450a
parent6741d8ec3c564d26871bec5a8b6f02bdecc41345
staging: hv: remove unnecessary code in netvsc_probe().

netif_carrier_off() was called earlier in this function, and there is
no other thread access this device yet. The status checking code is not
necessary here.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/netvsc_drv.c