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

Bowers, AndrewX andrewx.bowers at intel.com
Mon Nov 7 16:42:57 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Friday, November 04, 2016 10:36 AM
> 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 02/11] 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>




More information about the Intel-wired-lan mailing list