eventpoll: no need to mask the result of epi_item_poll() again
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 29 Nov 2017 00:56:15 +0000 (19:56 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 29 Nov 2017 00:56:15 +0000 (19:56 -0500)
commit69112736e2f025ff3ba280cf81c36e25cf7cc59f
tree753f63276600b58d2ebdb2b4b240db3b381e4936
parentbec1a502d34dcd4d4350a4d9c14fe07561c9516d
eventpoll: no need to mask the result of epi_item_poll() again

two callers that do so don't need to bother - we'd already
masked it with epi->event.events, which
* couldn't have changed since we are holding ->mtx
* had been set to event->events
* is still equal to event->events, since *event is never
changed by anything.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/eventpoll.c