Fix clang warnings
[lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index 760e0403c887e1c243804399e61390d9b9fb5cd2..4056221d3fe59dc8c22dcb8367045f43bc3d6bd4 100644 (file)
@@ -756,9 +756,7 @@ int ustctl_send_channel_to_ust(int sock, int session_handle,
                return ret;
        ret = ustcomm_recv_app_reply(sock, &lur, lum.handle, lum.cmd);
        if (!ret) {
-               if (lur.ret_val >= 0) {
-                       channel_data->handle = lur.ret_val;
-               }
+               channel_data->handle = lur.ret_val;
        }
        return ret;
 }
This page took 0.024475 seconds and 4 git commands to generate.