[Intel-wired-lan] [next PATCH S15 10/15] i40e/i40evf: remove redundant declarations of a variable and a function

Bowers, AndrewX andrewx.bowers at intel.com
Fri Sep 11 16:16:32 UTC 2015


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Catherine Sullivan
> Sent: Thursday, September 03, 2015 2:19 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S15 10/15] i40e/i40evf: remove
> redundant declarations of a variable and a function
> 
> From: Shannon Nelson <shannon.nelson at intel.com>
> 
> Remove a variable declaration inside an if block hiding an existing declaration
> at the start of the function.
> 
> Also remove a forward function declaration that is no longer needed due to
> code re-organization.
> 
> Signed-off-by: Shannon Nelson <shannon.nelson at intel.com>
> Change-ID: I12954668b722718074949c93d74cd20eaacd93e4
> ---
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c  | 3 ---
> drivers/net/ethernet/intel/i40evf/i40evf_main.c | 2 +-
>  2 files changed, 1 insertion(+), 4 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Code changes present in tree


More information about the Intel-wired-lan mailing list