Преглед изворни кода

ftrace: remove latency-tracer leftover

remove the :vim=ft=help tag from trace files.

I used them years ago to syntax-highlight traces and forgot about this hack.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar пре 17 година
родитељ
комит
1986b0cb16
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      kernel/trace/trace.c

+ 0 - 3
kernel/trace/trace.c

@@ -1203,9 +1203,6 @@ static void *s_next(struct seq_file *m, void *v, loff_t *pos)
 
 	iter->pos = *pos;
 
-	if (last_ent && !ent)
-		seq_puts(m, "\n\nvim:ft=help\n");
-
 	return ent;
 }