]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: rtl8723bs: remove unnecessary blank lines in rtw_security.c
authorJennifer Guo <guojy.bj@gmail.com>
Mon, 11 May 2026 18:20:38 +0000 (11:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 May 2026 09:21:01 +0000 (11:21 +0200)
Remove unnecessary blank lines around braces {} to improve readability.

This fixes the following checkpatch.pl checks in rtw_security.c:
- CHECK: Blank lines aren't necessary after an open brace '{'
- CHECK: Blank lines aren't necessary before a close brace '}'

Signed-off-by: Jennifer Guo <guojy.bj@gmail.com>
Link: https://patch.msgid.link/20260511182038.6625-3-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_security.c

index 50d8e30f7eda83823fc251a417b41a1612608aca..0cfd7734c174957830a4f71f7797dffb06fe82d2 100644 (file)
@@ -123,7 +123,6 @@ void rtw_wep_decrypt(struct adapter  *padapter, u8 *precvframe)
 
                /* calculate icv and compare the icv */
                *((u32 *)crc) = ~crc32_le(~0, payload, length - 4);
-
        }
 }
 
@@ -198,7 +197,6 @@ void rtw_secgetmic(struct mic_data *pmicdata, u8 *dst)
 
 void rtw_seccalctkipmic(u8 *key, u8 *header, u8 *data, u32 data_len, u8 *mic_code, u8 pri)
 {
-
        struct mic_data micdata;
        u8 priority[4] = {0x0, 0x0, 0x0, 0x0};