kernel: time: Drop some spammy alarmtimer verbose logging
Change-Id: Ic23453b1ba8fd848cf3b7b411148a6d2344abbc0 Signed-off-by: LinkBoi00 <linkdevel@protonmail.com>
This commit is contained in:
@@ -169,11 +169,6 @@ static void alarmtimer_enqueue(struct alarm_base *base, struct alarm *alarm)
|
||||
if (alarm->state & ALARMTIMER_STATE_ENQUEUED)
|
||||
timerqueue_del(&base->timerqueue, &alarm->node);
|
||||
|
||||
if (__ratelimit(&ratelimit)) {
|
||||
ratelimit.begin = jiffies;
|
||||
pr_notice("%s, %lld\n", __func__, alarm->node.expires);
|
||||
}
|
||||
|
||||
timerqueue_add(&base->timerqueue, &alarm->node);
|
||||
alarm->state |= ALARMTIMER_STATE_ENQUEUED;
|
||||
}
|
||||
@@ -307,12 +302,6 @@ static int alarmtimer_suspend(struct device *dev)
|
||||
now = ktime_add(now, min);
|
||||
|
||||
time = rtc_ktime_to_tm(now);
|
||||
pr_notice_ratelimited("%s convert %lld to %04d/%02d/%02d %02d:%02d:%02d (now = %04d/%02d/%02d %02d:%02d:%02d)\n",
|
||||
__func__, expires,
|
||||
time.tm_year+1900, time.tm_mon+1, time.tm_mday,
|
||||
time.tm_hour, time.tm_min, time.tm_sec,
|
||||
tm.tm_year+1900, tm.tm_mon+1, tm.tm_mday,
|
||||
tm.tm_hour, tm.tm_min, tm.tm_sec);
|
||||
|
||||
/* Set alarm, if in the past reject suspend briefly to handle */
|
||||
ret = rtc_timer_start(rtc, &rtctimer, now, 0);
|
||||
|
||||
Reference in New Issue
Block a user