Staging: rtl8192u: Remove break statement
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Thu, 26 Feb 2015 22:04:42 +0000 (23:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 23:30:24 +0000 (15:30 -0800)
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>
drivers/staging/rtl8192u/r819xU_phy.c

index c8dc648a59eedd15acffe2c690b871706dde04d1..3d4f57d97d515b84d916cc13e4325b4fc163fdee 100644 (file)
@@ -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;
        }