X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-abi.c;h=724d4f428a412ac7d3f74a935ecf15e890bc720f;hb=12528a82c68296e003358cca0c35d269973780cf;hp=3be91fcfaf48ade8c42bf228038e109184fafb45;hpb=2d70eed13e3c9a656eec50677940f8ef99eccabf;p=lttng-modules.git diff --git a/lttng-abi.c b/lttng-abi.c index 3be91fcf..724d4f42 100644 --- a/lttng-abi.c +++ b/lttng-abi.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include @@ -777,7 +776,6 @@ unsigned int lttng_metadata_ring_buffer_poll(struct file *filp, unsigned int mask = 0; if (filp->f_mode & FMODE_READ) { - poll_wait_set_exclusive(wait); poll_wait(filp, &stream->read_wait, wait); finalized = stream->finalized; @@ -1505,7 +1503,6 @@ unsigned int lttng_channel_poll(struct file *file, poll_table *wait) unsigned int mask = 0; if (file->f_mode & FMODE_READ) { - poll_wait_set_exclusive(wait); poll_wait(file, channel->ops->get_hp_wait_queue(channel->chan), wait);