diff options
author | Tom Rix <trix@redhat.com> | 2020-10-19 10:26:07 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-20 10:28:21 -0700 |
commit | 7ebb9db011088f9bd357791f49cb7012e66f29e2 (patch) | |
tree | 78c5a7ab7b5beeb5459fc3a02985aecba1688db2 /drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c | |
parent | df6afe2f7c19349de2ee560dc62ea4d9ad3ff889 (diff) |
net: remove unneeded break
A break is not needed if it is preceded by a return or goto
Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20201019172607.31622-1-trix@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c index de563cfd294d..4b93ba149ec5 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c @@ -350,7 +350,6 @@ static s32 ixgbe_calc_eeprom_checksum_X540(struct ixgbe_hw *hw) if (ixgbe_read_eerd_generic(hw, pointer, &length)) { hw_dbg(hw, "EEPROM read failed\n"); return IXGBE_ERR_EEPROM; - break; } /* Skip pointer section if length is invalid. */ |