]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: rtl8723bs: make Efuse_ReadAllMap static
authorMichael Straube <straube.linux@gmail.com>
Sat, 23 Aug 2025 12:43:09 +0000 (14:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 13:54:56 +0000 (15:54 +0200)
Make the function Efuse_ReadAllMap static and remove its unnecessary
forawrd declaration.

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

index d28298fa2853e07a778349424c523e99e5b32911..2c0dc55fb20eb27ee27dc9c035c66c374dd1f105 100644 (file)
@@ -303,13 +303,7 @@ u8 efuse_OneByteWrite(struct adapter *padapter, u16 addr, u8 data, bool bPseudoT
  * 11/11/2008  MHC             Create Version 0.
  *
  */
-void
-Efuse_ReadAllMap(
-       struct adapter *padapter,
-       u8 efuseType,
-       u8 *Efuse,
-       bool            bPseudoTest);
-void Efuse_ReadAllMap(struct adapter *padapter, u8 efuseType, u8 *Efuse, bool bPseudoTest)
+static void Efuse_ReadAllMap(struct adapter *padapter, u8 efuseType, u8 *Efuse, bool bPseudoTest)
 {
        u16 mapLen = 0;