[Intel-wired-lan] [next PATCH S52-V2 02/15] i40e: Remove unreachable code

Bowers, AndrewX andrewx.bowers at intel.com
Wed Nov 16 18:58:54 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Tuesday, November 08, 2016 1:05 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Tieman, Henry W <henry.w.tieman at intel.com>
> Subject: [Intel-wired-lan] [next PATCH S52-V2 02/15] i40e: Remove
> unreachable code
> 
> From: Henry Tieman <henry.w.tieman at intel.com>
> 
> The code at the end of i40e_read_phy_register_clause22() contained
> unreachable code and redundant control statements.
> 
> This change removes the unreachable code. And deletes the redundant goto
> statement and if statement.
> 
> Signed-off-by: Henry Tieman <henry.w.tieman at intel.com>
> Change-ID: I713032b1585396f40f903cbcfdea987abd874400
> ---
> Testing Hints:
>     Found by static analysis. Test by code inspection.
> 
>  drivers/net/ethernet/intel/i40e/i40e_common.c | 9 +--------
>  1 file changed, 1 insertion(+), 8 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Code changes properly applied




More information about the Intel-wired-lan mailing list