daemon: remove write-only variable maxfd