mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
staging: rtl8723bs: core: remove unused local variable padapter
Remove the unused variable padapter from Efuse_Write1ByteToFakeContent This variable is not used in the function. Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> Link: https://lore.kernel.org/r/20211105165330.78524-3-saurav.girepunje@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ed8f72e554
commit
f3f23022a0
1 changed files with 2 additions and 5 deletions
|
@ -43,10 +43,7 @@ Efuse_Read1ByteFromFakeContent(u16 Offset, u8 *Value)
|
|||
}
|
||||
|
||||
static bool
|
||||
Efuse_Write1ByteToFakeContent(
|
||||
struct adapter *padapter,
|
||||
u16 Offset,
|
||||
u8 Value)
|
||||
Efuse_Write1ByteToFakeContent(u16 Offset, u8 Value)
|
||||
{
|
||||
if (Offset >= EFUSE_MAX_HW_SIZE)
|
||||
return false;
|
||||
|
@ -288,7 +285,7 @@ u8 efuse_OneByteWrite(struct adapter *padapter, u16 addr, u8 data, bool bPseudoT
|
|||
u32 efuseValue = 0;
|
||||
|
||||
if (bPseudoTest)
|
||||
return Efuse_Write1ByteToFakeContent(padapter, addr, data);
|
||||
return Efuse_Write1ByteToFakeContent(addr, data);
|
||||
|
||||
|
||||
/* -----------------e-fuse reg ctrl --------------------------------- */
|
||||
|
|
Loading…
Reference in a new issue