• Steven Rostedt's avatar
    ring-buffer: remove useless compile check for buffer_page size · 0dcd4d6c
    Steven Rostedt authored
    The original version of the ring buffer had a hack to map the
    page struct that held the pages of the buffer to also be the structure
    that the ring buffer would keep the pages in a link list.
    
    This overlap of the page struct was very dangerous and that hack was
    removed a while ago.
    
    But there was a check to make sure the buffer_page never became bigger
    than the page struct, and would fail the compile if it did. The
    check was only meaningful when we had the hack. Now that we have separate
    allocated descriptors for the buffer pages, we can remove this check.
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    0dcd4d6c
ring_buffer.c 77.8 KB