[PATCH v2 1/8] staging: rtl8723bs: include: Fix open brace position in rtw_security.h

From: Sayyad Abid
Date: Thu Sep 12 2024 - 00:04:41 EST


This change improves code readability and consistency with the rest of
the kernel codebase.

Reported by `checkpatch.pl`:
WARNING: open brace '{' following function definitions or control
statements should be on the next line.

Signed-off-by: Sayyad Abid <sayyad.abid16@xxxxxxxxx>
---
drivers/staging/rtl8723bs/include/rtw_security.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/include/rtw_security.h b/drivers/staging/rtl8723bs/include/rtw_security.h
index c3e47d52687f..953076667b4d 100644
--- a/drivers/staging/rtl8723bs/include/rtw_security.h
+++ b/drivers/staging/rtl8723bs/include/rtw_security.h
@@ -190,8 +190,7 @@ do {\

#define SET_ICE_IV_LEN(iv_len, icv_len, encrypt)\
do {\
- switch (encrypt)\
- {\
+ switch (encrypt) {\
case _WEP40_:\
case _WEP104_:\
iv_len = 4;\
--
2.39.2