[Intel-wired-lan] [PATCH net-next] ixgbe: Remove local variable

G, GurucharanX gurucharanx.g at intel.com
Mon Oct 10 10:54:58 UTC 2022



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Anirudh Venkataramanan
> Sent: Thursday, September 29, 2022 4:12 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH net-next] ixgbe: Remove local variable
> 
> Remove local variable "match" and directly return evaluated conditional
> instead.
> 
> Suggested-by: Alexander Duyck <alexander.duyck at gmail.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 9 ++-------
>  1 file changed, 2 insertions(+), 7 deletions(-)
> 

Tested-by: Gurucharan <gurucharanx.g at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list