diff options
author | Jiwon Kim <[email protected]> | 2024-08-05 13:56:23 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-08-13 11:26:37 +0200 |
commit | 91dfee97aca0edad106c786e27df983b88878354 (patch) | |
tree | 342d9fb30178da6d0d13fa2757386f5026c264d4 | |
parent | bc41879dd624e712578d7afd612647f0fe31572d (diff) |
staging: rtl8723bs: Delete unnecessary braces for single statement blocks in xmit_linux.c
Delete braces {} for single statement blocks to shorten code.
Signed-off-by: Jiwon Kim <[email protected]>
Reviewed-by: Philipp Hortmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c index 1eeabfffd6d2..e0736707a211 100644 --- a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c @@ -144,9 +144,8 @@ static int rtw_mlcst2unicst(struct adapter *padapter, struct sk_buff *skb) psta = list_entry(plist, struct sta_info, asoc_list); stainfo_offset = rtw_stainfo_offset(pstapriv, psta); - if (stainfo_offset_valid(stainfo_offset)) { + if (stainfo_offset_valid(stainfo_offset)) chk_alive_list[chk_alive_num++] = stainfo_offset; - } } spin_unlock_bh(&pstapriv->asoc_list_lock); |