From: Michael Straube Date: Fri, 7 Jan 2022 21:50:31 +0000 (+0100) Subject: staging: r8188eu: remove HW_VAR_EFUSE_BYTES from GetHwReg8188EU() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=762e47b34b87635f48864ecfe46dc6a1f2351256;p=linux.git 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 Link: https://lore.kernel.org/r/20220107215033.12257-5-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/hal/usb_halinit.c b/drivers/staging/r8188eu/hal/usb_halinit.c index 12d4f92749e64..179d2a4dce1d7 100644 --- a/drivers/staging/r8188eu/hal/usb_halinit.c +++ b/drivers/staging/r8188eu/hal/usb_halinit.c @@ -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;