arm64: rockchip_defconfig: enable ROCKCHIP_CPUINFO
[firefly-linux-kernel-4.4.55.git] / kernel / watchdog.c
index 1f1b05f5a94b8edaf014495a985168b39d73877f..b718530034d23b10415c5fb39f9c5018b8ef811f 100644 (file)
@@ -403,7 +403,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)