Refactor

Rename var in should_poll_nea() as the function can be more flexible.
Remove unused variable.