summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorElizabeth Ferdman <gnudevliz@gmail.com>2016-09-30 12:15:09 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-02 17:19:51 +0200
commit4ee4b9da2b01421521f6ee434e7d6098aecedbdf (patch)
treee83e626de33b93bd5f6fbdf06d0461b404d6a46c /drivers/staging
parent8d3496c39357bc4b16e6ede0b71126bf1f2a34bc (diff)
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/wilc1000/wilc_wlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c
index 58843f7ca79b..bc5ad20af0a3 100644
--- a/drivers/staging/wilc1000/wilc_wlan.c
+++ b/drivers/staging/wilc1000/wilc_wlan.c
@@ -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;