Fix: remove unused return variable
[lttng-tools.git] / src / bin / lttng-sessiond / event.c
index 6e9cc006f9e32b3540910dc79c2578ec94e23d40..5a6825e6ef8a7412ec679bbb9f0c67cb95b12e7b 100644 (file)
@@ -245,7 +245,7 @@ end:
 int event_kernel_enable_all(struct ltt_kernel_session *ksession,
                struct ltt_kernel_channel *kchan, int kernel_tracer_fd)
 {
-       int tp_ret, syscall_ret;
+       int tp_ret;
 
        tp_ret = event_kernel_enable_all_tracepoints(ksession, kchan, kernel_tracer_fd);
        if (tp_ret != LTTCOMM_OK) {
@@ -261,8 +261,7 @@ int event_kernel_enable_all(struct ltt_kernel_session *ksession,
         * tracepoints did not fail. Future work will allow us to send back
         * multiple errors to the client in one API call.
         */
-       syscall_ret = event_kernel_enable_all_syscalls(ksession, kchan,
-                       kernel_tracer_fd);
+       (void) event_kernel_enable_all_syscalls(ksession, kchan, kernel_tracer_fd);
 
 end:
        return tp_ret;
This page took 0.023062 seconds and 4 git commands to generate.