diff options
| author | Zhan Xusheng <zhanxusheng1024@gmail.com> | 2026-07-06 16:45:57 +0800 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-07-06 17:51:36 +0200 |
| commit | b3afded935a8528d3df57198aaa90651995622c5 (patch) | |
| tree | 086152c545d9f95e7959f0fb47de4b8fb1cfea73 /kernel | |
| parent | d8966ca88566d94de9958a84f93bd08bfc431ee6 (diff) | |
clocksource: Remove unused WATCHDOG_INTERVAL_NS macro
WATCHDOG_INTERVAL_NS has been unused since it was introduced by commit
763aacf86f1b ("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
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/time/clocksource.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index e48c4d379a7c..78c91b0037f7 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -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) |
