Remove time signature, keep barlines

The following lines create a new staff without the time signature mark but they do print the barlines, which are positioned manually in the example.

\version "2.24.0"

%% http://lsr.di.unimi.it/LSR/Item?id=165

%LSR odified by P.P.Schneider on Feb.2014

\score{
  \new Staff 
  \with { 
    \omit TimeSignature 
    % or:
    %\remove "Time_signature_engraver" 
  }
  { 
   c' d' e' f'  g' f' e'  d'  c' 
  }
}