Skip to contentSkip to conversation

staging: wilc1000: remove unnecessary braces

PATCH New Elizabeth Ferdman 1 participant 1 message Sep 30, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wilc1000: remove unnecessary braces

Fix checkpatch warning "braces {} are not necessary for single statement blocks" to conform to linux kernel coding style.

---
 drivers/staging/wilc1000/wilc_wlan.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/wilc1000/wilc_wlan.c +2 -2
index 2b307ce..ac5e506 100644
@@ -621,9 +621,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
2.1.4