Commit f4b0d31
tracing: Simplify conditional compilation code in tracing_set_tracer()
Two conditional compilation directives "#ifdef CONFIG_TRACER_MAX_TRACE"
are used consecutively, and no other code in between. Simplify conditional
the compilation code and only use one "#ifdef CONFIG_TRACER_MAX_TRACE".
Link: https://lkml.kernel.org/r/20220602140613.545069-1-sunliming@kylinos.cn
Signed-off-by: sunliming <sunliming@kylinos.cn>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent cc72b72 commit f4b0d31
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6424 | 6424 | | |
6425 | 6425 | | |
6426 | 6426 | | |
6427 | | - | |
6428 | 6427 | | |
6429 | | - | |
6430 | 6428 | | |
6431 | 6429 | | |
6432 | 6430 | | |
| |||
0 commit comments