[PATCH 0/2] staging: rtl8723bs: fix boolean logic and clean up coding style

Marcos Andrade posted 2 patches 1 week ago
.../staging/rtl8723bs/core/rtw_wlan_util.c    | 130 +++++++++++-------
1 file changed, 83 insertions(+), 47 deletions(-)
[PATCH 0/2] staging: rtl8723bs: fix boolean logic and clean up coding style
Posted by Marcos Andrade 1 week ago
This patch series addresses a potential logical bug and performs various
formatting cleanups in the rtl8723bs driver, specifically within
rtw_wlan_util.c.

Patch 1 fixes an error-prone boolean comparison. A u8 parameter was
explicitly compared to 'true' (1). The condition is now evaluated
implicitly to ensure that any non-zero value correctly triggers the
intended hardware register set operation.

Patch 2 focuses strictly on coding style improvements to align the code
with the Linux kernel formatting standards. It resolves lines exceeding
the 80-column limit, fixes parenthesis alignment, and removes outdated
commented-out dead code.

Both patches resolve issues highlighted by checkpatch.pl. No functional
changes are introduced in the second patch.

Marcos Andrade (2):
  staging: rtl8723bs: fix coding style issues in core:rtw_wlan_util.c
  staging: rtl8723bs: fix coding style and remove dead code

 .../staging/rtl8723bs/core/rtw_wlan_util.c    | 130 +++++++++++-------
 1 file changed, 83 insertions(+), 47 deletions(-)

-- 
2.53.0