Refactor struct lttng_ust_lib_ring_buffer_ctx
[lttng-ust.git] / libringbuffer / backend_internal.h
index b8a1699046ff293fc8fc0c2df447fd419753e7a5..9e57a6c6059fb20b85575c6687d3fff9bfa15ae6 100644 (file)
@@ -236,9 +236,6 @@ struct lttng_ust_lib_ring_buffer_backend_pages *
        lib_ring_buffer_get_backend_pages_from_ctx(const struct lttng_ust_lib_ring_buffer_config *config,
                struct lttng_ust_lib_ring_buffer_ctx *ctx)
 {
-       if (caa_unlikely(ctx->ctx_len
-                       < sizeof(struct lttng_ust_lib_ring_buffer_ctx)))
-               return NULL;
        return ctx->backend_pages;
 }
 
This page took 0.02322 seconds and 4 git commands to generate.