Commit 147bedf6 authored by Soheil Hassas Yeganeh's avatar Soheil Hassas Yeganeh Committed by Stephen Rothwell
Browse files

epoll: move eavail next to the list_empty_careful check

This is a no-op change and simply to make the code more coherent.


Signed-off-by: default avatarSoheil Hassas Yeganeh <>
Suggested-by: default avatarLinus Torvalds <>
Reviewed-by: default avatarEric Dumazet <>
Reviewed-by: default avatarWillem de Bruijn <>
Reviewed-by: default avatarKhazhismel Kumykov <>
Cc: Guantao Liu <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarStephen Rothwell <>
parent 303ec644
......@@ -1828,6 +1828,7 @@ fetch_events:
if (!eavail)
timed_out = !schedule_hrtimeout_range(to, slack,
* We were woken up, thus go and try to harvest some events.
......@@ -1837,8 +1838,6 @@ fetch_events:
eavail = 1;
} while (0);
if (!list_empty_careful(&wait.entry)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment