rm unused function
Midway commit, support for -L socket-name and -S socket-path in completion and commands