X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=kernel%2Fwatchdog.c;h=b718530034d23b10415c5fb39f9c5018b8ef811f;hb=a274596ac370dab19c3558a1208edff055b8571d;hp=1f1b05f5a94b8edaf014495a985168b39d73877f;hpb=b3f09bff3f6f291d4ef5d400426278856bf24c27;p=firefly-linux-kernel-4.4.55.git diff --git a/kernel/watchdog.c b/kernel/watchdog.c index 1f1b05f5a94b..b718530034d2 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c @@ -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)