[PATCH 0/2] timekeeping: Drop some dead conditionals around auxiliary clock IDs

From: Thomas Weißschuh (Schneider Electric)

Date: Thu Dec 03 2026 - 10:16:51 EST


Some checks around auxiliary clock IDs can never happen.

Drop the dead code.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
---
Thomas Weißschuh (Schneider Electric) (2):
timekeeping: Drop the clockid_is_aux_clock() check in aux_get_res()
timekeeping: Drop the aux_tkd checks in aux_clock_set() and aux_clock_adj()

kernel/time/timekeeping.c | 8 --------
1 file changed, 8 deletions(-)
---
base-commit: b4c794ff2b232e081d8ad3f0575eba2c49442949
change-id: 20261201-timekeeping-aux-conditionals-220c389ca7e0

Best regards,
--
Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>