Commit e92e5f30 authored by Phillip Potter's avatar Phillip Potter Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: change declaration of Efuse_Read1ByteFromFakeContent



Remove forward declaration of Efuse_Read1ByteFromFakeContent function
from core/rtw_efuse.c, as the function is defined in full directly
after this and therefore this forward declaration is redundant.

In addition, convert the storage class of the function to static, as the
function is only used with rtw_efuse.c, and tidy up the signature
alignment.

Acked-by: default avatarFabio M. De Francesco <fmdefrancesco@gmail.com>
Acked-by: default avatarMichael <Straube&lt;straube.linux@gmail.com>
Signed-off-by: default avatarPhillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210821105615.6307-1-phil@philpotter.co.uk


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2d29f81c
Loading
Loading
Loading
Loading
+3 −11
Original line number Diff line number Diff line
@@ -29,15 +29,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
Efuse_Read1ByteFromFakeContent(
			struct adapter *pAdapter,
static bool Efuse_Read1ByteFromFakeContent(struct adapter *pAdapter,
					   u16 Offset,
					   u8 *Value)
{