mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
staging: rtl8723bs: remove unnecessary blank lines in rtw_security.c
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>
This commit is contained in:
parent
6602a11fdb
commit
9f7da7b1f2
|
|
@ -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};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user