Commit 285fe7ec authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman

staging: r8188eu: remove efuse_GetCurrentSize()

Function efuse_GetCurrentSize() is not used, remove it.
Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-3-straube.linux@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bae0847d
......@@ -286,15 +286,6 @@ u16 efuse_GetMaxSize(struct adapter *padapter)
return max_size;
}
u8 efuse_GetCurrentSize(struct adapter *padapter, u16 *size)
{
rtl8188e_EfusePowerSwitch(padapter, false, true);
*size = rtl8188e_EfuseGetCurrentSize(padapter, EFUSE_WIFI, false);
rtl8188e_EfusePowerSwitch(padapter, false, false);
return _SUCCESS;
}
u8 rtw_efuse_map_read(struct adapter *padapter, u16 addr, u16 cnts, u8 *data)
{
u16 mapLen = 0;
......
......@@ -101,7 +101,6 @@ extern u8 fakeBTEfuseInitMap[];
extern u8 fakeBTEfuseModifiedMap[];
/*------------------------Export global variable----------------------------*/
u8 efuse_GetCurrentSize(struct adapter *adapter, u16 *size);
u16 efuse_GetMaxSize(struct adapter *adapter);
u8 rtw_efuse_access(struct adapter *adapter, u8 read, u16 start_addr,
u16 cnts, u8 *data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment