mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 12:53:04 -04:00
staging: r8188eu: remove HW_VAR_EFUSE_BYTES from GetHwReg8188EU()
GetHwReg8188EU() is never called with HW_VAR_EFUSE_BYTES. Remove that case from the function. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220107215033.12257-5-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f3806385a4
commit
762e47b34b
@@ -1616,9 +1616,6 @@ void GetHwReg8188EU(struct adapter *Adapter, u8 variable, u8 *val)
|
||||
}
|
||||
}
|
||||
break;
|
||||
case HW_VAR_EFUSE_BYTES: /* To get EFUE total used bytes, added by Roger, 2008.12.22. */
|
||||
*((u16 *)(val)) = haldata->EfuseUsedBytes;
|
||||
break;
|
||||
case HW_VAR_APFM_ON_MAC:
|
||||
*val = haldata->bMacPwrCtrlOn;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user