testknc: remove unused variable.
tests: change unit.c to the new poll(2)-based interface.