Skip to contentSkip to conversation

staging: wilc1000: Remove braces from single statment blocks

PATCH New Anchal Jain 1 participant 1 message Feb 15, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wilc1000: Remove braces from single statment blocks

Braces are not necessary for single statement blocks.

---
 drivers/staging/wilc1000/wilc_wlan.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/wilc1000/wilc_wlan.c +2 -2
index ba2b940..c62d25c 100644
@@ -669,9 +669,9 @@ int wilc_wlan_handle_txq(struct net_device *dev, u32 *txq_count)
 			if (!ret)
 				break;
 
-			if ((reg & 0x1) == 0) {
+			if ((reg & 0x1) == 0)
 				break;
-			}
+
 				counter++;
 				if (counter > 200) {
 					counter = 0;
Signature · 1 line
1.9.1