From b782080b7aabe0e214c3ee1dca44377a90202e82 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 30 Jan 2024 11:31:56 +0100 Subject: [PATCH] sleep: remove redundant debug log message --- src/sleep/sleep.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c index 6864f631f1f..8498d45f1a3 100644 --- a/src/sleep/sleep.c +++ b/src/sleep/sleep.c @@ -427,15 +427,13 @@ static int custom_timer_suspend(const SleepConfig *sleep_config) { if (r < 0) log_warning_errno(r, "Failed to estimate and update battery discharge rate, ignoring: %m"); } else - log_debug("System woke up too early to estimate discharge rate"); + log_debug("System woke up too early to estimate discharge rate."); if (!woken_by_timer) /* Return as manual wakeup done. This also will return in case battery was charged during suspension */ return 0; r = check_wakeup_type(); - if (r < 0) - log_debug_errno(r, "Failed to check hardware wakeup type, ignoring: %m"); if (r > 0) { log_debug("wakeup type is APM timer"); /* system should hibernate */ -- 2.47.3