Remove useless else clause
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 21 Mar 2013 03:33:19 +0000 (23:33 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 21 Mar 2013 03:33:19 +0000 (23:33 -0400)
Reported-by: Keun-O Park <keun-o.park@windriver.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/tracepoint.c

index 62aaf418ee405437d02c7edc37c6ba7841045d20..da53d00a356850d7c7015e2cef805f57463c5e13 100644 (file)
@@ -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) {
This page took 0.025149 seconds and 4 git commands to generate.