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)
commit88208fa7787cbefda09525fdafdc8e2ca8cf790f
tree345bf66e48714c05122f3eca5e17992d6e5f072d
parent7b2b5d27cbd31d58ff90a9868e1892caa52f999c
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