staging: rtl8723bs: replace _cancel_timer with del_timer_sync
authorRoss Schmidt <ross.schm.dev@gmail.com>
Sun, 4 Oct 2020 01:17:43 +0000 (20:17 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Oct 2020 07:59:31 +0000 (09:59 +0200)
commitfb127a61c9d8dfd9b370ee173344d01711f3c698
treec84b1cd1051440faab14ee7006d1c2ed19a4e722
parentd2e8f201a017fc8be569ca1d6f8f0e0b75495666
staging: rtl8723bs: replace _cancel_timer with del_timer_sync

Replace _cancel_timer with API function del_timer_sync.

One instance of del_timer_sync is moved and an unnecessary pair of spin
locks are removed.

Signed-off-by: Ross Schmidt <ross.schm.dev@gmail.com>
Link: https://lore.kernel.org/r/20201004011743.10750-8-ross.schm.dev@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c
drivers/staging/rtl8723bs/core/rtw_mlme.c
drivers/staging/rtl8723bs/hal/sdio_ops.c
drivers/staging/rtl8723bs/include/osdep_service_linux.h