From: Ksenija Stanojevic Date: Thu, 26 Feb 2015 22:04:42 +0000 (+0100) Subject: Staging: rtl8192u: Remove break statement X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6a3718cfd0f6608362f5aaea37f896ff629d0f43;p=openwrt%2Fstaging%2Fblogic.git Staging: rtl8192u: Remove break statement This patch fixes the checkpatch.pl warning: WARNING: "break is not useful after a goto or return" Signed-off-by: Ksenija Stanojevic Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/r819xU_phy.c b/drivers/staging/rtl8192u/r819xU_phy.c index c8dc648a59ee..3d4f57d97d51 100644 --- a/drivers/staging/rtl8192u/r819xU_phy.c +++ b/drivers/staging/rtl8192u/r819xU_phy.c @@ -1342,7 +1342,6 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel, default: RT_TRACE(COMP_ERR, "Unknown RFChipID: %d\n", priv->rf_chip); return true; - break; }