[Intel-wired-lan] [next PATCH S37 02/15] i40e: add hw struct local variable

Bowers, AndrewX andrewx.bowers at intel.com
Tue May 17 16:23:40 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Monday, May 16, 2016 10:27 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S37 02/15] i40e: add hw struct local
> variable
> 
> From: Mitch Williams <mitch.a.williams at intel.com>
> 
> This function uses the i40e_hw struct all over the place, so why doesn't it
> keep a pointer to the struct? Add this pointer as a local variable and use it
> consistently throughout the function.
> 
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Change-ID: I10eb688fe40909433fcb8ac7ac891cef67445d72
> ---
> Testing Hints : No functionality change, just code simplification.
> 
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 79 +++++++++++++++--------
> ------
>  1 file changed, 41 insertions(+), 38 deletions(-)

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


More information about the Intel-wired-lan mailing list