summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoksh Panicker <mokshpanicker.7@gmail.com>2026-05-04 14:28:10 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-04 16:58:41 +0200
commitabd79fe84da72eb9e132f6d1ad1987b3f800930f (patch)
tree7edfc3ebf9baa259de65fc35223e091f8643c3ef
parente7a88f7e7aa1065c97d85bb151397d4b89671ee6 (diff)
downloadlinux-abd79fe84da72eb9e132f6d1ad1987b3f800930f.tar.gz
linux-abd79fe84da72eb9e132f6d1ad1987b3f800930f.zip
staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c
Braces are not necessary for single statement blocks. This fixes the following checkpatch.pl warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com> Link: https://patch.msgid.link/20260504142812.21964-2-mokshpanicker.7@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
index 705becfe6043..a7f23335cdd9 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
@@ -395,9 +395,9 @@ next:
spin_lock_bh(&pxmitpriv->lock);
ret = rtw_txframes_pending(padapter);
spin_unlock_bh(&pxmitpriv->lock);
- if (ret == 1) {
+ if (ret == 1)
goto next;
- }
+
return _SUCCESS;
}