tcp: remove dead code