commit | 00b27634bc471e0198f93d48694171121af2e159 | [log] [tgz] |
---|---|---|
author | Soheil Hassas Yeganeh <[email protected]> | Fri Dec 18 14:02:03 2020 -0800 |
committer | Linus Torvalds <[email protected]> | Sat Dec 19 11:18:38 2020 -0800 |
tree | ea67bbb4f3ff5eff143c79603990dd7d6338f0a8 | |
parent | e8c85328b1e88f4ee7f84a1fdbff2f2c7965e026 [diff] |
epoll: replace gotos with a proper loop The existing loop is pointless, and the labels make it really hard to follow the structure. Replace that control structure with a simple loop that returns when there are new events, there is a signal, or the thread has timed out. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Soheil Hassas Yeganeh <[email protected]> Suggested-by: Linus Torvalds <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Reviewed-by: Khazhismel Kumykov <[email protected]> Cc: Guantao Liu <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>