]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: rtl8723bs: Remove unnecessary braces in rtl8723bs_xmit.c
authorMoksh Panicker <mokshpanicker.7@gmail.com>
Mon, 4 May 2026 14:28:10 +0000 (14:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 May 2026 14:58:41 +0000 (16:58 +0200)
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>
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c

index 705becfe60439141b08e452e472cd8f72b7f8c38..a7f23335cdd92e5e0e6950e0082e95ec76a885d5 100644 (file)
@@ -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;
 }