staging: rtl8723bs: core: Remove wrapper functions
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Wed, 12 Jun 2019 18:04:34 +0000 (23:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2019 09:55:49 +0000 (11:55 +0200)
commit534415d29c0c4d85ec73e7b40915f13f63c747f9
treeb546ab51eabcaed47b3f7a4551413ac9ce8f4b16
parent183eb53d25a30acd2f688f581d352ddc9d572d32
staging: rtl8723bs: core: Remove wrapper functions

Remove function power_saving_wk_hdl as all it does is call
rtw_ps_processor. Edit call sites accordingly.
Remove function reset_securitypriv_hdl as all it does is call
rtw_reset_securitypriv. Modify call sites accordingly.
Remove function free_assoc_resources_hdl as all it does is call
rtw_free_assoc_resources with one extra constant argument, and the
former is only called once.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c