From: Mathieu Desnoyers Date: Thu, 21 Mar 2013 03:33:19 +0000 (-0400) Subject: Remove useless else clause X-Git-Tag: v2.2.0-rc1~42 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bf7bdff679d9eb9c572ac0e136f2111a34589b90;p=lttng-ust.git Remove useless else clause Reported-by: Keun-O Park Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/tracepoint.c b/liblttng-ust/tracepoint.c index 62aaf418..da53d00a 100644 --- a/liblttng-ust/tracepoint.c +++ b/liblttng-ust/tracepoint.c @@ -191,8 +191,6 @@ tracepoint_entry_remove_probe(struct tracepoint_entry *entry, old[nr_probes].data == data) nr_del++; } - } else { - nr_del = nr_probes; } if (nr_probes - nr_del == 0) {