]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: rtl8723bs: remove braces around single statements
authorAbraham Samuel Adekunle <abrahamadekunle50@gmail.com>
Wed, 26 Mar 2025 12:40:05 +0000 (13:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Apr 2025 05:38:08 +0000 (06:38 +0100)
commit9f61589a8b50715fb7c11f4d899c9689ae6674bc
tree13f277ed2142cee56f43c5a3e4006b4f11f941f4
parentf6d1d0ac1735ff4fccf84d08eadf291123b8e310
staging: rtl8723bs: remove braces around single statements

The code contains braces around single statements in the if blocks
which are unnecessary according to the Linux kernel coding style.

Remove the braces to improve readability and maintain consistency.

Reported by checkpatch:

WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: Abraham Samuel Adekunle <abrahamadekunle50@gmail.com>
Link: https://lore.kernel.org/r/Z+P1pfLSKpiRtpaF@HP-650
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c