linux/Documentation/kernel-hacking
Thomas Gleixner b0b0aa5d85 Documentation: Remove bogus claim about del_timer_sync()
del_timer_sync() does not return the number of times it tried to delete the
timer which rearms itself. It's clearly documented:

 The function returns whether it has deactivated a pending timer or not.

This part of the documentation is from 2003 where del_timer_sync() really
returned the number of deletion attempts for unknown reasons. The code
was rewritten in 2005, but the documentation was not updated.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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.452282769@linutronix.de
2022-11-24 15:09:10 +01:00
..
hacking.rst docs: process: remove outdated submitting-drivers.rst 2022-07-14 15:03:57 -06:00
index.rst doc: add some chapter labels 2018-06-26 09:08:06 -06:00
locking.rst Documentation: Remove bogus claim about del_timer_sync() 2022-11-24 15:09:10 +01:00