daemon nitpick cleanups
- Some (potentially) unused vars were left behind. - The two on_* functions are identical except for the uv types passed, and those are surely the same in the part we use, but it's not worth to deduplicate when these functions are only two and so simple. - lint:c was complaining about the uv_tcp_t malloc().
Showing with 7 additions and 12 deletions