staging: rtl8723bs: Replace function beacon_timing_control()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Thu, 25 Jul 2019 05:26:42 +0000 (10:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2019 07:59:39 +0000 (09:59 +0200)
commitd40e29d7e219cd214eef295149fd2678871ac982
tree0774b095efe8e760a8d0aba70bfbe75a9f29d311
parent7a9a7332b62b802ca1a71f3e1351767129f3b53e
staging: rtl8723bs: Replace function beacon_timing_control()

Remove function beacon_timing_control as it does nothing except call
rtw_hal_bcn_related_reg_setting.
Rename rtw_hal_bcn_related_reg_setting to beacon_timing_control to
maintain compatibility with call site.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190725052645.2372-6-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_wlan_util.c
drivers/staging/rtl8723bs/hal/hal_intf.c
drivers/staging/rtl8723bs/include/hal_intf.h
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h