igb: remove unnecessary break after goto

This change “igb: remove unnecessary break after goto” (commit a4a0762) in Linux kernel is authored by Fabian Frederick <fabf [at] skynet.be> on Sat Jul 12 20:09:40 2014 +0200.

Description of "igb: remove unnecessary break after goto"

The change “igb: remove unnecessary break after goto” introduces changes as follows.

igb: remove unnecessary break after goto

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>

Linux kernel releases containing commit a4a0762

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "igb: remove unnecessary break after goto"

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/net/ethernet/intel/igb/e1000_82575.c | 1 -
 1 file changed, 1 deletion(-)
 
diff --git a/drivers/net/ethernet/intel/igb/e1000_82575.c b/drivers/net/ethernet/intel/igb/e1000_82575.c
index a2db388cc31e..168a5ee5e0ba 100644
--- a/drivers/net/ethernet/intel/igb/e1000_82575.c
+++ b/drivers/net/ethernet/intel/igb/e1000_82575.c
@@ -837,7 +837,6 @@ static s32 igb_get_phy_id_82575(struct e1000_hw *hw)
 		default:
 			ret_val = -E1000_ERR_PHY;
 			goto out;
-			break;
 		}
 		ret_val = igb_get_phy_id(hw);
 		goto out;

The commit for this change in Linux stable tree is a4a0762 (patch).

Last modified: 2020/02/10