ODROID-COMMON: clock: remove confusing kernel warning

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ic13f009bc8221317e554921d3da2a420fce28c53
This commit is contained in:
Dongjin Kim
2020-10-12 14:23:05 +09:00
parent e7fb2db2f4
commit 2ea1cdf417

View File

@@ -184,10 +184,12 @@ static irqreturn_t meson_timer_interrupt(int irq, void *dev_id)
struct clock_event_device *evt = dev_id;
if (evt == NULL || evt->event_handler == NULL) {
#if !defined(CONFIG_ARCH_MESON64_ODROID_COMMON)
WARN_ONCE(evt == NULL || evt->event_handler == NULL,
"%p %s %p %d",
evt, evt?evt->name:NULL,
evt?evt->event_handler:NULL, irq);
#endif
return IRQ_HANDLED;
}
evt->event_handler(evt);