summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaehee Park <jhpark1013@gmail.com>2022-04-21 15:20:26 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-22 16:44:53 +0200
commitfe5d2632dfc723467cd2ba28fef6575f46594d6b (patch)
tree54d7b4e8a6739a9c518d0a8abe19ebe892bd721c
parentff88784d69fc3ff180b6a12c73a44334ff6c1173 (diff)
downloadcachepc-linux-fe5d2632dfc723467cd2ba28fef6575f46594d6b.tar.gz
cachepc-linux-fe5d2632dfc723467cd2ba28fef6575f46594d6b.zip
staging: r8188eu: remove unnecessary braces in single statement block
Remove braces for single statement block to minimize the number of empty lines, without loss of readability. Issue found with checkpatch. WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Jaehee Park <jhpark1013@gmail.com> Link: https://lore.kernel.org/r/b96ae957e2ddc519e56813a1c56e770168f67a2d.1650568579.git.jhpark1013@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/r8188eu/core/rtw_mlme.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/core/rtw_mlme.c b/drivers/staging/r8188eu/core/rtw_mlme.c
index 6836072b3358..2a15cb94d671 100644
--- a/drivers/staging/r8188eu/core/rtw_mlme.c
+++ b/drivers/staging/r8188eu/core/rtw_mlme.c
@@ -112,9 +112,8 @@ void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
rtw_free_mlme_priv_ie_data(pmlmepriv);
- if (pmlmepriv) {
+ if (pmlmepriv)
vfree(pmlmepriv->free_bss_buf);
- }
}