timers: Get rid of del_singleshot_timer_sync()
[ Upstream commit 9a5a3056 ] del_singleshot_timer_sync() used to be an optimization for deleting timers which are not rearmed from the timer callback function. This optimization turned out to be broken and got mapped to del_timer_sync() about 17 years ago. Get rid of the undocumented indirection and use del_timer_sync() directly. No functional change. Signed-off-by:Thomas Gleixner <tglx@linutronix.de> Tested-by:
Guenter Roeck <linux@roeck-us.net> Reviewed-by:
Jacob Keller <jacob.e.keller@intel.com> Reviewed-by:
Anna-Maria Behnsen <anna-maria@linutronix.de> Link: https://lore.kernel.org/r/20221123201624.706987932@linutronix.de Stable-dep-of: 4893b8b3 ("hsr: Simplify code for announcing HSR nodes timer setup") Signed-off-by:
Sasha Levin <sashal@kernel.org>
parent
7e3242c1
Please register or sign in to comment