Update ABI
[lttng-modules.git] / lib / ringbuffer / ring_buffer_iterator.c
index ff9b8061e7b30bd34cfc87232274b74c4aac2e2e..1e60f2c43c104150ee6a6d85516763b77d0a647c 100644 (file)
@@ -151,11 +151,11 @@ void lib_ring_buffer_get_empty_buf_records(const struct lib_ring_buffer_config *
                default:
                        /*
                         * Insert buffer into the heap, remove from empty buffer
-                        * list. The heap should never overflow.
+                        * list.
                         */
                        CHAN_WARN_ON(chan, len < 0);
                        list_del(&buf->iter.empty_node);
-                       CHAN_WARN_ON(chan, heap_insert(heap, buf) != NULL);
+                       CHAN_WARN_ON(chan, heap_insert(heap, buf));
                }
        }
 }
This page took 0.024158 seconds and 4 git commands to generate.