summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>2015-02-26 22:04:42 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-26 23:30:24 (GMT)
commit6a3718cfd0f6608362f5aaea37f896ff629d0f43 (patch)
tree9c3bd636eeda7be8f95ced3bae7ef37b18fbff57
parentff0dd127432f003f11d8312c37bb384da009307a (diff)
downloadlinux-6a3718cfd0f6608362f5aaea37f896ff629d0f43.tar.xz
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 <ksenija.stanojevic@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8192u/r819xU_phy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_phy.c b/drivers/staging/rtl8192u/r819xU_phy.c
index c8dc648..3d4f57d 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;
}