[PATCH 1/6] hidclass.sys: Add a processing thread for HID devices

Nikolay Sivov bunglehead at gmail.com
Thu Oct 8 15:03:51 CDT 2015


On 08.10.2015 22:34, Aric Stewart wrote:
> +        buffer_size = RingBuffer_GetBufferSize(ext->ring_buffer);
> +        RingBuffer_Read(ext->ring_buffer, ptr, packet, &buffer_size);

No idea what's going on there, but first call seems to be redundant. 
Also maybe it makes sense to make RingBuffer_Read return size since it's 
out-only argument right now?



More information about the wine-devel mailing list