staging: rtl8723: remove multiple blank lines in rtw_security.c
PATCH 1/1 staging: rtl8723: remove multiple blank lines in rtw_security.c
Remove unnecessary multiple blank lines.
Fix 5 checkpatch.pl checks in rtw_security.c of the type:
- CHECK: Please don't use multiple blank lines
Signed-off-by Andrea Frasson <[email protected]>
--- drivers/staging/rtl8723bs/core/rtw_security.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/staging/rtl8723bs/core/rtw_security.c +0 -6
@@ -409,7 +409,6 @@ static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) rc4key[2 ] =Lo8 (iv16); rc4key[3 ] =Lo8 ((PPK [5 ] ^TK16 (0 )) >>1 ); -/* Copy 96 bits of PPK[0..5] to RC4KEY[4..15] (little-endian) */ for (i =0 ; i <6 ; i++) { rc4key[4 +2 * i] =Lo8 (PPK [i]);
@@ -417,7 +416,6 @@ static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) } } -/* The hlen isn't include the IV */ u32 rtw_tkip_encrypt (struct adapter *padapter,u8 *pxmitframe) {/* exclude ICV */
@@ -491,7 +489,6 @@ u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe)return res; } -/* The hlen isn't include the IV */ u32 rtw_tkip_decrypt (struct adapter *padapter,u8 *precvframe) {/* exclude ICV */
@@ -593,11 +590,8 @@ u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe)return res; } -/* 3 =====AES related ===== */ - -#define MAX_MSG_SIZE 2048/****************************************/
Signature · 1 line
2.48.1
Quoted 7 lines · Andrea Frasson
Remove unnecessary multiple blank lines.
Fix 5 checkpatch.pl checks in
rtw_security.cof the type:
- CHECK: Please don't use multiple blank linesSigned-off-by Andrea Frasson <[email protected]>---
LGTM.
Reviewed-by Ethan Tidmore <[email protected]>
Thanks,
ET