diff options
author | Michael Straube <straube.linux@gmail.com> | 2022-03-31 15:05:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-04 07:33:48 +0200 |
commit | ae3d0470ab5709b9eb8e56db1de0b05e19536ab2 (patch) | |
tree | 8063a14fc5a380792cbf1553f3319ec6c2ff6355 /drivers/staging/r8188eu/include/hal_intf.h | |
parent | db975705cbbe65f8c87699fc5a1c602fe7f87626 (diff) | |
download | linux-ae3d0470ab5709b9eb8e56db1de0b05e19536ab2.tar.bz2 |
staging: r8188eu: remove HW_VAR_BCN_VALID from GetHwReg8188EU()
The HW_VAR_BCN_VALID from GetHwReg8188EU() just calls rtw_read8().
Remove HW_VAR_BCN_VALID from GetHwReg8188EU() and call rtw_read8()
directly. Move the call to a new function to indicate what it actually
does. This is part of the ongoing effort to get rid of the unwanted
hal layer.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220331130522.6648-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/hal_intf.h')
-rw-r--r-- | drivers/staging/r8188eu/include/hal_intf.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/include/hal_intf.h b/drivers/staging/r8188eu/include/hal_intf.h index 1e2177b8e11c..065fc7bd78d5 100644 --- a/drivers/staging/r8188eu/include/hal_intf.h +++ b/drivers/staging/r8188eu/include/hal_intf.h @@ -17,7 +17,6 @@ enum hw_variables { HW_VAR_MLME_JOIN, HW_VAR_SLOT_TIME, HW_VAR_ACK_PREAMBLE, - HW_VAR_BCN_VALID, HW_VAR_DM_FLAG, HW_VAR_DM_FUNC_OP, HW_VAR_DM_FUNC_RESET, |