RFC staging: rtl8723bs: refactor to reduce indents
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | staging: rtl8723bs: refactor to reduce indentsdrivers/ | +56 | 2 replies | |
| 2/2 | staging: rtl8723bs: remove unnecessary braces from conditionalsdrivers/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Resend] [PATCH 0/2] [RFC] staging: rtl8723bs: refactor to reduce indents
**RESENT THE PATCH BECAUSE I MESSED UP THE EMAIL ADDRESS FOR LKML IN THE PREVIOUS MAIL. SORRY.**
This patch series tries to fix the following warnings by checkpatch.pl in core/rtw_wlan_util.c:
WARNING: Too many leading tabs - consider code refactoring #887: FILE: rtw_wlan_util.c:887:
+ if ((edca[j] >> 16) > (edca[i] >> 16))
WARNING: Too many leading tabs - consider code refactoring #1529: FILE: rtw_wlan_util.c:1529:
+ if (pIE->data[5] & RT_HT_CAP_USE_92SE)
WARNING: Too many leading tabs - consider code refactoring #1537: FILE: rtw_wlan_util.c:1537:
+ if (pIE->data[6] & RT_HT_CAP_USE_JAGUAR_BCUT)
WARNING: Too many leading tabs - consider code refactoring #1540: FILE: rtw_wlan_util.c:1540:
+ if (pIE->data[6] & RT_HT_CAP_USE_JAGUAR_CCUT)
I wanted to ask for comments on the names of these functions and if such a patch series would be acceptable.
The first patch refactors the code by introducing two new functions sort_wmm_ac_params and get_realtek_assoc_AP_vender.
The second patch removes unnecessary braces from the conditional statements in check_assoc_AP function.
Shreyansh Chouhan (2):
staging: rtl8723bs: refactor to reduce indents
staging: rtl8723bs: remove unnecessary braces from conditionals
.../staging/rtl8723bs/core/rtw_wlan_util.c | 141 +++++++++--------- 1 file changed, 72 insertions(+), 69 deletions(-)
Signature · 1 line
2.31.1