Remove unused `*irqe' pointer for `irq:irq_handler_exit' and `irq:softirq_exit' events in perf_process_bundle::handle_trace_point()
Signed-off-by: Sergey Senozhatsky <sergey.senozhat...@gmail.com> --- diff --git a/process/do_process.cpp b/process/do_process.cpp index f87a873..1b49fb1 100644 --- a/process/do_process.cpp +++ b/process/do_process.cpp @@ -304,13 +304,9 @@ void perf_process_bundle::handle_trace_point(int type, void *trace, int cpu, uin } if (strcmp(event_name, "irq:irq_handler_exit") == 0) { - struct irq_exit *irqe; class interrupt *irq; uint64_t t; - irqe = (struct irq_exit *)trace; - - /* find interrupt (top of stack) */ irq = (class interrupt *)current_consumer(cpu); if (!irq || strcmp(irq->name(), "interrupt")) @@ -343,8 +339,6 @@ void perf_process_bundle::handle_trace_point(int type, void *trace, int cpu, uin change_blame(cpu, irq, LEVEL_SOFTIRQ); } if (strcmp(event_name, "irq:softirq_exit") == 0) { - struct softirq_entry *irqe; - irqe = (struct softirq_entry *)trace; class interrupt *irq; uint64_t t; _______________________________________________ Discuss mailing list Discuss@lesswatts.org http://lists.lesswatts.org/listinfo/discuss