Browse Source

staging: wilc1000: remove unnecessary braces

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

Signed-off-by: Elizabeth Ferdman <gnudevliz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Elizabeth Ferdman 9 years ago
parent
commit
4ee4b9da2b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/wilc1000/wilc_wlan.c

+ 2 - 2
drivers/staging/wilc1000/wilc_wlan.c

@@ -621,9 +621,9 @@ int wilc_wlan_handle_txq(struct net_device *dev, u32 *txq_count)
 			if (!ret)
 			if (!ret)
 				break;
 				break;
 
 
-			if ((reg & 0x1) == 0) {
+			if ((reg & 0x1) == 0)
 				break;
 				break;
-			}
+
 			counter++;
 			counter++;
 			if (counter > 200) {
 			if (counter > 200) {
 				counter = 0;
 				counter = 0;