]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Remove unreachable code
authorHenry Tieman <henry.w.tieman@intel.com>
Tue, 8 Nov 2016 21:05:06 +0000 (13:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 3 Dec 2016 07:13:33 +0000 (23:13 -0800)
commitd8527b6465916f528e22e8560a150bf9d604a263
treed3683754145f61b8eb73715c7ead47ad7eb82139
parent5ce4daacdb980ef001308783752fd83ff4a9b573
i40e: Remove unreachable code

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.

Change-ID: I713032b1585396f40f903cbcfdea987abd874400
Signed-off-by: Henry Tieman <henry.w.tieman@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c