PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
[firefly-linux-kernel-4.4.55.git] / kernel / watchdog.c
index 198137b1cadc6a8438cf105270c0229ccc4149e5..c1e0b5f429b6b91c9b80c0173f8c8668541fbde8 100644 (file)
@@ -328,7 +328,6 @@ static void watchdog_overflow_callback(struct perf_event *event,
         */
        if (is_hardlockup()) {
                int this_cpu = smp_processor_id();
-               struct pt_regs *regs = get_irq_regs();
 
                /* only print hardlockups once */
                if (__this_cpu_read(hard_watchdog_warn) == true)