mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
clocksource: Remove unused WATCHDOG_INTERVAL_NS macro
WATCHDOG_INTERVAL_NS has been unused since it was introduced by commit
763aacf86f ("clocksource: Rewrite watchdog code completely"); the
watchdog timer rearming uses WATCHDOG_INTERVAL (in jiffies) directly and
the nanosecond variant has never had a user.
Remove the dead macro. No functional change.
Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260706084557.3845091-3-zhanxusheng@xiaomi.com
This commit is contained in:
committed by
Thomas Gleixner
parent
d8966ca885
commit
b3afded935
@@ -123,7 +123,6 @@ static atomic_t watchdog_reset_pending;
|
||||
|
||||
/* Watchdog interval: 0.5sec. */
|
||||
#define WATCHDOG_INTERVAL (HZ >> 1)
|
||||
#define WATCHDOG_INTERVAL_NS (WATCHDOG_INTERVAL * (NSEC_PER_SEC / HZ))
|
||||
|
||||
/* Maximum time between two reference watchdog readouts */
|
||||
#define WATCHDOG_READOUT_MAX_NS (50U * NSEC_PER_USEC)
|
||||
|
||||
Reference in New Issue
Block a user