X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=kernel%2Fwatchdog.c;h=b718530034d23b10415c5fb39f9c5018b8ef811f;hb=f806c42f5bcfcdb93b2d49e174b5ec39bf8c8873;hp=1f1b05f5a94b8edaf014495a985168b39d73877f;hpb=0a9cbce798bca52bb3476cb55ce33da27e100f3e;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)