]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/eventpoll.c
epoll: cleanup: hoist out f_op->poll calls
authorEric Wong <normalperson@yhbt.net>
Tue, 30 Apr 2013 22:27:42 +0000 (15:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 May 2013 00:04:04 +0000 (17:04 -0700)
commit450d89ec0a91dbad81adaa635fdb1325b57f8d69
tree939059552c8bb7dd83e12937e355d1548880195b
parentddf676c38b56a8641c8eb9fb856fa304018ff390
epoll: cleanup: hoist out f_op->poll calls

This reduces the amount of code inside the ready list iteration loops for
better readability IMHO.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/eventpoll.c