X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fkernel-consumer%2Fkernel-consumer.c;fp=src%2Fcommon%2Fkernel-consumer%2Fkernel-consumer.c;h=5334d13585842b0d63ab7f61d2b8cfa33e2b3b5e;hp=8c0a87737056e4e2e39fa6adadbeb7bccb4305bc;hb=ab1564ae117e420bf23526aa2f670fd0eceb645b;hpb=b6797c8e4aeb3f7c33be9726ab33655e7667e07e diff --git a/src/common/kernel-consumer/kernel-consumer.c b/src/common/kernel-consumer/kernel-consumer.c index 8c0a87737..5334d1358 100644 --- a/src/common/kernel-consumer/kernel-consumer.c +++ b/src/common/kernel-consumer/kernel-consumer.c @@ -1604,17 +1604,10 @@ enum get_next_subbuffer_status get_subbuffer_common( * when there is no data for a finalized stream. Those can be * combined into a -ENODATA return value. */ -<<<<<<< HEAD - if (ret == -EAGAIN) { - ret = -ENODATA; - } - -======= status = GET_NEXT_SUBBUFFER_STATUS_NO_DATA; goto end; default: status = GET_NEXT_SUBBUFFER_STATUS_ERROR; ->>>>>>> ba6c36321 (Clean-up: consumerd: use a specific status code for get_next_subbuffer) goto end; }