staging: wilc1000: remove unnecessary braces
authorElizabeth Ferdman <gnudevliz@gmail.com>
Fri, 30 Sep 2016 19:15:09 +0000 (12:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Oct 2016 15:19:51 +0000 (17:19 +0200)
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>
drivers/staging/wilc1000/wilc_wlan.c

index 58843f7..bc5ad20 100644 (file)
@@ -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;