]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: rtl8188eu: remove write-only power struct component
authorMartin Kaiser <martin@kaiser.cx>
Sun, 25 Jul 2021 15:58:54 +0000 (17:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jul 2021 13:19:27 +0000 (15:19 +0200)
commite79942ec2ccbbc26b6a66861377810f9f6db3f4c
treeb1e361d26a19b58507f401ea6c0ab79f25c1a6af
parent55937c27cd438a832922f93be2fdd17bdd1b05ed
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>
drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
drivers/staging/rtl8188eu/include/rtw_pwrctrl.h