Remove some unused code referencing pipe_names[]