e1000e: cleanup: always return 0

These are a few instances of returning a value that can only be 0 so just
use a 'return 0' to make it more obvious.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
Bruce Allan
2012-02-08 02:55:09 +00:00
committed by Jeff Kirsher
parent 7eb61d8194
commit 826072555b
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -444,7 +444,7 @@ s32 e1000e_check_for_copper_link(struct e1000_hw *hw)
return ret_val;
if (!link)
return ret_val; /* No link detected */
return 0; /* No link detected */
mac->get_link_status = false;