From: Elizabeth Ferdman Date: Fri, 30 Sep 2016 19:15:09 +0000 (-0700) Subject: staging: wilc1000: remove unnecessary braces X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4ee4b9da2b01421521f6ee434e7d6098aecedbdf;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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;