From: Bruce Allan Date: Wed, 8 Feb 2012 02:55:30 +0000 (+0000) Subject: e1000e: cleanup: remove unnecessary test and return X-Git-Tag: v3.4-rc1~177^2~305^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f764956fd6c93be36cc60726ffd101d59fc3f581;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git e1000e: cleanup: remove unnecessary test and return Fall-through to a return statement that effectively does the same. Signed-off-by: Bruce Allan Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/e1000e/phy.c b/drivers/net/ethernet/intel/e1000e/phy.c index a8b99ba..0e86c7e 100644 --- a/drivers/net/ethernet/intel/e1000e/phy.c +++ b/drivers/net/ethernet/intel/e1000e/phy.c @@ -1264,8 +1264,6 @@ s32 e1000e_phy_force_speed_duplex_igp(struct e1000_hw *hw) PHY_FORCE_LIMIT, 100000, &link); - if (ret_val) - return ret_val; } return ret_val;