diff options
author | Elizabeth Ferdman <gnudevliz@gmail.com> | 2016-09-30 21:15:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-02 17:19:51 +0200 |
commit | 4ee4b9da2b01421521f6ee434e7d6098aecedbdf (patch) | |
tree | e83e626de33b93bd5f6fbdf06d0461b404d6a46c | |
parent | staging: wilc1000: wilc_spi: Remove unnecessary blank lines (diff) | |
download | linux-4ee4b9da2b01421521f6ee434e7d6098aecedbdf.tar.xz linux-4ee4b9da2b01421521f6ee434e7d6098aecedbdf.zip |
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>
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan.c | 4 |
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; |