staging: rtl8723bs: Remove function rtw_modular64()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Mon, 1 Jul 2019 06:22:55 +0000 (11:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jul 2019 08:50:21 +0000 (10:50 +0200)
commit9b1fd9b00d6dcb657df2571a529d40b8235292aa
tree278e06e4aff1795ca2e6b6a3fb99c0e18184f05c
parent7cda1f884d76a462b67581b3f63e16b2d34a3912
staging: rtl8723bs: Remove function rtw_modular64()

Remove function rtw_modular64 as all it does is call do_div.
Modify call sites accordingly.
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_wlan_util.c
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
drivers/staging/rtl8723bs/include/osdep_service.h
drivers/staging/rtl8723bs/os_dep/osdep_service.c