aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2021-07-25 17:58:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-27 15:19:27 +0200
commite79942ec2ccbbc26b6a66861377810f9f6db3f4c (patch)
treeb1e361d26a19b58507f401ea6c0ab79f25c1a6af /drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
parentstaging: rtl8188eu: remove unused _HAL_INTF_C_ define (diff)
downloadlinux-dev-e79942ec2ccbbc26b6a66861377810f9f6db3f4c.tar.xz
linux-dev-e79942ec2ccbbc26b6a66861377810f9f6db3f4c.zip
staging: rtl8188eu: remove write-only power struct component
pwrpriv->bFwCurrentInPSMode is initialized and updated but nobody reads its value. Remove this write-only component. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210725155902.32433-10-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c')
-rw-r--r--drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
index a67615708745..7bf807e317d1 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
@@ -95,9 +95,6 @@ void _8051Reset88E(struct adapter *padapter)
void rtl8188e_InitializeFirmwareVars(struct adapter *padapter)
{
- /* Init Fw LPS related. */
- padapter->pwrctrlpriv.bFwCurrentInPSMode = false;
-
/* Init H2C counter. by tynli. 2009.12.09. */
padapter->HalData->LastHMEBoxNum = 0;
}