Skip to contentSkip to conversation

Staging: rtl8192u: Remove break statement

PATCH New Ksenija Stanojevic 1 participant 1 message Feb 26, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: rtl8192u: Remove break statement

This patch fixes the checkpatch.pl warning:
WARNING: "break is not useful after a goto or return"

---
v2: fix spelling mistake in subject line (break instead of brake).

 drivers/staging/rtl8192u/r819xU_phy.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/rtl8192u/r819xU_phy.c +0 -1
index 0589602..63c9e18 100644
@@ -1344,7 +1344,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;
 	}
 
 
Signature · 1 line
1.9.1