[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260123211904.64589-1-tehsiu.huang@gmail.com>
Date: Fri, 23 Jan 2026 13:19:02 -0800
From: Michael Huang <tehsiu.huang@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Michael Huang <tehsiu.huang@...il.com>
Subject: [PATCH v3 0/2] staging: rtl8723bs: cleanup and indentation refactoring
This series improves the code quality and readability of rtw_mlme_ext.c
in the rtl8723bs driver.
The first patch refactors several deeply nested loops and if-statements
by using guard clauses (continue statements). This flattens the logic
and makes the code easier to follow.
The second patch addresses various style issues reported by
checkpatch.pl, including line length exceeding 100 columns,
unnecessary parentheses, and unnecessary braces.
Michael Huang (2):
staging: rtl8723bs: refactor nested loops to reduce indentation
staging: rtl8723bs: fix line length and coding style issues
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 142 ++++++++++--------
1 file changed, 80 insertions(+), 62 deletions(-)
--
2.43.0
Powered by blists - more mailing lists