This looks more like an optimization for `ringbuffer_get2`, than something to check here. Also, its likely a "zero-operation" to invoke `memcpy` with 0 as size argument.