summaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/include/hal_intf.h
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2022-01-30 20:03:19 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-31 14:03:30 +0100
commit6e28b38bad7dd62b8bad888728de5e375ed85b98 (patch)
treead195ed183eabb1c25a7102be548721a27c25140 /drivers/staging/r8188eu/include/hal_intf.h
parentb82f0b575aff08f3db99681f8bd23cb11339f003 (diff)
downloadlinux-6e28b38bad7dd62b8bad888728de5e375ed85b98.tar.bz2
staging: r8188eu: remove HW_VAR_BCN_FUNC
The HW_VAR_BCN_FUNC case in SetHwReg8188EU() just calls hw_var_set_bcn_func(). Remove HW_VAR_BCN_FUNC from SetHwReg8188EU(), remove hw_var_set_bcn_func() and call rtw_write8() directly. Since hw_var_set_bcn_func() was always called with value 0, we only need to keep the else arm of the if statement that checks the value. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220130190321.7172-11-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.h1
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 31159265085b..ee430359abf7 100644
--- a/drivers/staging/r8188eu/include/hal_intf.h
+++ b/drivers/staging/r8188eu/include/hal_intf.h
@@ -13,7 +13,6 @@ enum hw_variables {
HW_VAR_BSSID,
HW_VAR_INIT_RTS_RATE,
HW_VAR_BASIC_RATE,
- HW_VAR_BCN_FUNC,
HW_VAR_CORRECT_TSF,
HW_VAR_CHECK_BSSID,
HW_VAR_MLME_DISCONNECT,