]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: drop duplicated check in manager_{set,override}_watchdog
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 20 Dec 2024 13:31:49 +0000 (14:31 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 21 Mar 2025 10:30:26 +0000 (11:30 +0100)
commit18284f5a1beccae9cce357a1eed7cdf77348cddb
treedb26246a135e2a74bf1fe1b879030fb4d17ac88e
parent511bf79b4e424de3cbed0f5814d9fa9126ff0103
core: drop duplicated check in manager_{set,override}_watchdog

Those functions call watchdog_setup() and watchdog_setup_pretimeout(), which
internally do a similar check against the static variables watchdog_timeout and
watchdog_pretimeout. The second check is not useful.
src/core/manager.c