poll: Avoid duplicate array index counting
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 3 Oct 2014 20:43:39 +0000 (21:43 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 6 Oct 2014 22:10:23 +0000 (23:10 +0100)
Calculate remain from idx at the top of the loop.  This avoids having
to keep both remain and idx in step.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>

No differences found