[Intel-wired-lan] [PATCH net-next v1] i40e: Refactor arrow operator usage in i40e_update_adq_vsi_queues()

Brelinski, Tony tony.brelinski at intel.com
Wed Oct 27 20:39:58 UTC 2021


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Jagielski, Jedrzej
> Sent: Friday, June 11, 2021 3:55 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Loktionov, Aleksandr <aleksandr.loktionov at intel.com>; Jagielski, Jedrzej
> <jedrzej.jagielski at intel.com>
> Subject: [Intel-wired-lan] [PATCH net-next v1] i40e: Refactor arrow operator
> usage in i40e_update_adq_vsi_queues()
> 
> Use local pf & hw variables instead of multiple arrow operators.
> Move pf & hw variables initialization after checking if vsi is not NULL.
> 
> Co-developed-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
> Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)

Tested-by: Tony Brelinski <tony.brelinski at intel.com>





More information about the Intel-wired-lan mailing list