Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / x86 / kernel / apb_timer.c
index cc74fd0c90f24e319f1a35421ab91b314eb28ebd..c9876efecafb53870def4d713292b715d0c9e4ef 100644 (file)
@@ -240,7 +240,7 @@ static int apbt_cpuhp_notify(struct notifier_block *n,
                dw_apb_clockevent_pause(adev->timer);
                if (system_state == SYSTEM_RUNNING) {
                        pr_debug("skipping APBT CPU %lu offline\n", cpu);
-               } else if (adev) {
+               } else {
                        pr_debug("APBT clockevent for cpu %lu offline\n", cpu);
                        dw_apb_clockevent_stop(adev->timer);
                }