From: Fabian Frederick Date: Sun, 20 Jul 2014 14:27:51 +0000 (+0200) Subject: ucc_geth: remove unnecessary break after return X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=56a7a06ab8e12fa8121c549279fce0b9bc788392;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ucc_geth: remove unnecessary break after return Signed-off-by: Fabian Frederick Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 36fc429298e3..8ceaf7a2660c 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c @@ -2396,7 +2396,6 @@ static int ucc_geth_startup(struct ucc_geth_private *ugeth) if (netif_msg_ifup(ugeth)) pr_err("Bad number of Rx threads value\n"); return -EINVAL; - break; } switch (ug_info->numThreadsTx) { @@ -2419,7 +2418,6 @@ static int ucc_geth_startup(struct ucc_geth_private *ugeth) if (netif_msg_ifup(ugeth)) pr_err("Bad number of Tx threads value\n"); return -EINVAL; - break; } /* Calculate rx_extended_features */