Commit d88cb582 authored by Anirban Sinha's avatar Anirban Sinha Committed by Ingo Molnar

tracing: Eliminate code duplication in kernel/tracepoint.c

Signed-off-by: default avatarAnirban Sinha <asinha@zeugmasystems.com>
Reviewed-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Cc: "Oleg Nesterov" <oleg@tv-sign.ru>
LKML-Reference: <DDFD17CC94A9BD49A82147DDF7D545C501EA9047@exchange.ZeugmaSystems.local>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 4539f077
......@@ -555,9 +555,6 @@ int tracepoint_module_notify(struct notifier_block *self,
switch (val) {
case MODULE_STATE_COMING:
tracepoint_update_probe_range(mod->tracepoints,
mod->tracepoints + mod->num_tracepoints);
break;
case MODULE_STATE_GOING:
tracepoint_update_probe_range(mod->tracepoints,
mod->tracepoints + mod->num_tracepoints);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment