Cleanup: remove redundant assignment
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Jul 2013 17:40:15 +0000 (13:40 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Jul 2013 17:40:15 +0000 (13:40 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/bin/lttng-sessiond/trace-kernel.c

index d889b6ab6582570587c9c4a66cdcf51fad30943a..33e5488ef293fde00f2841094f17d92e15e0a834 100644 (file)
@@ -191,7 +191,6 @@ struct ltt_kernel_event *trace_kernel_create_event(struct lttng_event *ev)
                attr->instrumentation = LTTNG_KERNEL_KRETPROBE;
                attr->u.kretprobe.addr = ev->attr.probe.addr;
                attr->u.kretprobe.offset = ev->attr.probe.offset;
-               attr->u.kretprobe.offset = ev->attr.probe.offset;
                strncpy(attr->u.kretprobe.symbol_name,
                                ev->attr.probe.symbol_name, LTTNG_KERNEL_SYM_NAME_LEN);
                attr->u.kretprobe.symbol_name[LTTNG_KERNEL_SYM_NAME_LEN - 1] = '\0';
This page took 0.024178 seconds and 4 git commands to generate.