staging: rtl8723bs: removed function prototypes in core/rtw_efuse.c
authorFabio Aiuto <fabioaiuto83@gmail.com>
Tue, 23 Mar 2021 12:56:28 +0000 (13:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Mar 2021 14:22:21 +0000 (15:22 +0100)
fix the following checkpatch issues:

WARNING: externs should be avoided in .c files
35: FILE: drivers/staging/rtl8723bs/core/rtw_efuse.c:35:
+bool

removed two function prototypes in core/rtw_efuse.c and
made definition static

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/e9137945e66eccae8f2ae3eabe720ea648262eca.1616503354.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_efuse.c

index 32ca10f..3701336 100644 (file)
@@ -32,12 +32,7 @@ u8 fakeBTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN] = {0};
 #define REG_EFUSE_CTRL         0x0030
 #define EFUSE_CTRL                     REG_EFUSE_CTRL          /*  E-Fuse Control. */
 
-bool
-Efuse_Read1ByteFromFakeContent(
-       struct adapter *padapter,
-       u16     Offset,
-       u8 *Value);
-bool
+static bool
 Efuse_Read1ByteFromFakeContent(
        struct adapter *padapter,
        u16     Offset,
@@ -53,12 +48,7 @@ Efuse_Read1ByteFromFakeContent(
        return true;
 }
 
-bool
-Efuse_Write1ByteToFakeContent(
-       struct adapter *padapter,
-       u16     Offset,
-       u8 Value);
-bool
+static bool
 Efuse_Write1ByteToFakeContent(
        struct adapter *padapter,
        u16     Offset,