]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192u: ieee80211: Remove braces for single line blocks
authorAtul Gopinathan <atulgopinathan@gmail.com>
Wed, 10 Mar 2021 10:43:54 +0000 (16:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Mar 2021 16:31:28 +0000 (17:31 +0100)
commit70050b1756e7a18e819945659aa78a816e632dc3
tree345bf66e48714c05122f3eca5e17992d6e5f072d
parent20458efdf110247e7e3404e899b222c0bfbc14fb
staging: rtl8192u: ieee80211: Remove braces for single line blocks

Remove braces around those `if` and `for` blocks which contain a
single line and therefore fix the Checkpatch warning of the
following type:

"WARNING: braces {} are not necessary for single statement blocks"

Signed-off-by: Atul Gopinathan <atulgopinathan@gmail.com>
Link: https://lore.kernel.org/r/20210310104353.14531-1-atulgopinathan@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c
drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c