OSDN Git Service

wifi: ray_cs: remove one redundant del_timer
authorDongliang Mu <dzm91@hust.edu.cn>
Thu, 16 Mar 2023 13:32:35 +0000 (21:32 +0800)
committerKalle Valo <kvalo@kernel.org>
Sat, 27 May 2023 08:30:28 +0000 (11:30 +0300)
commitdaef020558bc34e8031263aa7cf9e803d709f93a
treea79e71bf0f6c14dc502c02a7a4babfa755b02834
parent4f8d66a9fb2edcd05c1e563456a55a08910bfb37
wifi: ray_cs: remove one redundant del_timer

In ray_detach, it and its child function ray_release both call
del_timer(_sync) on the same timer.

Fix this by removing the del_timer_sync in the ray_detach, and revising
the del_timer to del_timer_sync.

Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230316133236.556198-2-dzm91@hust.edu.cn
drivers/net/wireless/legacy/ray_cs.c