[Intel-wired-lan] [PATCH S12 03/14] ice: avoid multiple unnecessary de-references in probe

Bowers, AndrewX andrewx.bowers at intel.com
Fri Feb 22 23:49:30 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Friday, February 8, 2019 12:51 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S12 03/14] ice: avoid multiple unnecessary
> de-references in probe
> 
> From: Bruce Allan <bruce.w.allan at intel.com>
> 
> Add a local variable struct device *dev to avoid unnecessary de-references
> throughout ice_probe().
> 
> Signed-off-by: Bruce Allan <bruce.w.allan at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_main.c | 33 ++++++++++++++-------------
> ----
>  1 file changed, 15 insertions(+), 18 deletions(-)

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




More information about the Intel-wired-lan mailing list