[Intel-wired-lan] [PATCH S21 05/14] ice: Cleanup ice_update_link_info

Bowers, AndrewX andrewx.bowers at intel.com
Tue Apr 30 22:52:23 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Tuesday, April 16, 2019 10:35 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S21 05/14] ice: Cleanup
> ice_update_link_info
> 
> From: Bruce Allan <bruce.w.allan at intel.com>
> 
> Do not allocate memory for the Get PHY Abilities command data buffer when
> it is not necessary, change one local variable to another to reduce the
> number of de-references, reduce the scope of some local variables, and
> reorder the code and change exit points to get rid of an unnecessary goto
> label.
> 
> Signed-off-by: Bruce Allan <bruce.w.allan at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
> [Anirudh Venkataramanan <anirudh.venkataramanan at intel.com> cleaned
> up commit message]
> ---
>  drivers/net/ethernet/intel/ice/ice_common.c | 35 +++++++++++----------
>  1 file changed, 18 insertions(+), 17 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list