[PATCH v1 1/2] net/e1000: better clock synchronization workaround
    Stephen Hemminger 
    stephen at networkplumber.org
       
    Mon Jun  9 18:23:10 CEST 2025
    
    
  
On Mon,  9 Jun 2025 11:16:41 +0100
Anatoly Burakov <anatoly.burakov at intel.com> wrote:
> +	ret_val = hw->phy.ops.write_reg_locked(hw, E1000_PHY_TIMEOUTS_REG,
> +					       phy_timeout);
> +
> +	return ret_val;
Why use temporary value (ret_val) and not just a return statement?
	return hw->phy.ops.write_reg_locked(hw, E1000_PHY_TIMEOUTS_REG, phy_timeout);
    
    
More information about the dev
mailing list