]> www.infradead.org Git - users/hch/misc.git/commitdiff
staging: rtl8723bs: remove unnecessary forward declarations
authorMichael Straube <straube.linux@gmail.com>
Mon, 11 Aug 2025 07:09:06 +0000 (09:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Aug 2025 14:24:53 +0000 (16:24 +0200)
Remove unnecessary forward declarations of static functions to improve
readability.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20250811070906.27232-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_security.c

index 08d179857203f3d911ba98059b72beee6d979bf9..8367fd15c6b12da58a4da2bc9a002cc33c7d038a 100644 (file)
@@ -638,36 +638,6 @@ exit:
 
 #define MAX_MSG_SIZE   2048
 
-/*****************************/
-/**** Function Prototypes ****/
-/*****************************/
-
-static void construct_mic_iv(u8 *mic_header1,
-                            signed int qc_exists,
-                            signed int a4_exists,
-                            u8 *mpdu,
-                            uint payload_length,
-                            u8 *pn_vector,
-                            uint frtype); /*  add for CONFIG_IEEE80211W, none 11w also can use */
-static void construct_mic_header1(u8 *mic_header1,
-                                 signed int header_length,
-                                 u8 *mpdu,
-                                 uint frtype); /* for CONFIG_IEEE80211W, none 11w also can use */
-static void construct_mic_header2(u8 *mic_header2,
-                                 u8 *mpdu,
-                                 signed int a4_exists,
-                                 signed int qc_exists);
-static void construct_ctr_preload(u8 *ctr_preload,
-                                 signed int a4_exists,
-                                 signed int qc_exists,
-                                 u8 *mpdu,
-                                 u8 *pn_vector,
-                                 signed int c,
-                                 uint frtype); /* for CONFIG_IEEE80211W, none 11w also can use */
-
-static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext);
-
-
 /****************************************/
 /* aes128k128d()                        */
 /* Performs a 128 bit AES encrypt with  */