Skip to content

Commit

Permalink
tracing: Eliminate code duplication in kernel/tracepoint.c
Browse files Browse the repository at this point in the history
Signed-off-by: Anirban Sinha <asinha@zeugmasystems.com>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: "Oleg Nesterov" <oleg@tv-sign.ru>
LKML-Reference: <DDFD17CC94A9BD49A82147DDF7D545C501EA9047@exchange.ZeugmaSystems.local>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Anirban Sinha authored and Ingo Molnar committed Aug 25, 2009
1 parent 4539f07 commit d88cb58
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kernel/tracepoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d88cb58

Please sign in to comment.