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)
commit27e5f25b917b4d388ffba8dbfae4952834d48e49
treed3683754145f61b8eb73715c7ead47ad7eb82139
parent47d2a5d8279dcdcaec2c67b3d2c72cfa62979c58
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