From: Mathieu Desnoyers Date: Wed, 17 Jul 2013 17:40:15 +0000 (-0400) Subject: Cleanup: remove redundant assignment X-Git-Tag: v2.3.0-rc1~6 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=91b23e997053fb552662f1ad07273f029e00d2e4;p=lttng-tools.git Cleanup: remove redundant assignment Signed-off-by: Mathieu Desnoyers --- diff --git a/src/bin/lttng-sessiond/trace-kernel.c b/src/bin/lttng-sessiond/trace-kernel.c index d889b6ab6..33e5488ef 100644 --- a/src/bin/lttng-sessiond/trace-kernel.c +++ b/src/bin/lttng-sessiond/trace-kernel.c @@ -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';