diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-07-02 11:04:38 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-07-02 11:04:38 +0200 |
commit | e3747380fb66228dc4fa7c5815d884f96d873db4 (patch) | |
tree | 0840300c43697c188db308e6a083a1284b9ee730 /src | |
parent | battery-check: rework unit (diff) | |
download | systemd-e3747380fb66228dc4fa7c5815d884f96d873db4.tar.xz systemd-e3747380fb66228dc4fa7c5815d884f96d873db4.zip |
test: drop an unused assignment
Unused since 788c2d9523.
Resolves: CID#1509248
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test-watchdog.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/test-watchdog.c b/src/test/test-watchdog.c index a0b3af2aba..70d069c08b 100644 --- a/src/test/test-watchdog.c +++ b/src/test/test-watchdog.c @@ -23,8 +23,6 @@ int main(int argc, char *argv[]) { r = watchdog_setup(t); if (r < 0) log_warning_errno(r, "Failed to open watchdog: %m"); - if (r == -EPERM) - t = 0; for (i = 0; i < count; i++) { t = watchdog_runtime_wait(); |