mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
add missing paranthesis
This commit is contained in:
parent
2c3c9bdf08
commit
29eda9be8e
@ -115,7 +115,7 @@ ssize_t dvb_ringbuffer_avail(struct dvb_ringbuffer *rbuf)
|
|||||||
void dvb_ringbuffer_flush(struct dvb_ringbuffer *rbuf)
|
void dvb_ringbuffer_flush(struct dvb_ringbuffer *rbuf)
|
||||||
{
|
{
|
||||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0))
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0))
|
||||||
rbuf->pread = smp_load_acquire(&rbuf->pwrite;
|
rbuf->pread = smp_load_acquire(&rbuf->pwrite);
|
||||||
#else
|
#else
|
||||||
/* dvb_ringbuffer_flush() counts as read operation
|
/* dvb_ringbuffer_flush() counts as read operation
|
||||||
* smp_load_acquire() to load write pointer
|
* smp_load_acquire() to load write pointer
|
||||||
|
Loading…
Reference in New Issue
Block a user