commit | b1956a81af0c23d65a4cafee9e39c52e4c6cadcc | [log] [tgz] |
---|---|---|
author | Haiyang Zhang <haiyangz@microsoft.com> | Mon May 23 09:03:45 2011 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jun 07 13:35:59 2011 -0700 |
tree | 2bd3a957a3cbd51de49755f0b2973544b687450a | |
parent | 6741d8ec3c564d26871bec5a8b6f02bdecc41345 [diff] |
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>