> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of Alok 
> Tiwari
> Sent: 25 September 2025 01:04
> To: Nguyen, Anthony L <[email protected]>; [email protected]; 
> [email protected]; [email protected]; [email protected]; [email protected]; 
> [email protected]; [email protected]
> Cc: [email protected]
> Subject: [Intel-wired-lan] [PATCH net-next] ixgbe: avoid redundant call to 
> ixgbe_non_sfp_link_config()
>
> ixgbe_non_sfp_link_config() is called twice in ixgbe_open() once to assign 
> its return value to err and again in the conditional check. This patch uses 
> the stored err value instead of calling the function a second time. This 
> avoids redundant work and ensures consistent error reporting.
>
> Also fix a small typo in the ixgbe_remove() comment:
> "The could be caused" -> "This could be caused".
>
> Signed-off-by: Alok Tiwari <[email protected]>
> ---
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)

Reply via email to