mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
staging: rtl8723bs: Remove unused function hal_EfusePgPacketWriteData
Remove unused function hal_EfusePgPacketWriteData to shorten code. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/ec6f2c62ce7a4a742360b81495afbc0755a5a703.1730916582.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
605685a5a8
commit
2b8b60d711
@@ -1345,26 +1345,6 @@ static u8 hal_EfusePgPacketWriteHeader(
|
||||
return bRet;
|
||||
}
|
||||
|
||||
static u8 hal_EfusePgPacketWriteData(
|
||||
struct adapter *padapter,
|
||||
u8 efuseType,
|
||||
u16 *pAddr,
|
||||
struct pgpkt_struct *pTargetPkt,
|
||||
u8 bPseudoTest
|
||||
)
|
||||
{
|
||||
u16 efuse_addr;
|
||||
u8 badworden;
|
||||
|
||||
|
||||
efuse_addr = *pAddr;
|
||||
badworden = Efuse_WordEnableDataWrite(padapter, efuse_addr+1, pTargetPkt->word_en, pTargetPkt->data, bPseudoTest);
|
||||
if (badworden != 0x0F)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static struct hal_version ReadChipVersion8723B(struct adapter *padapter)
|
||||
{
|
||||
u32 value32;
|
||||
|
||||
Reference in New Issue
Block a user