summaryrefslogtreecommitdiffstats
path: root/kernel/tracepoint.c
diff options
context:
space:
mode:
authorAnirban Sinha <ASinha@zeugmasystems.com>2009-08-25 07:00:02 -0700
committerIngo Molnar <mingo@elte.hu>2009-08-25 16:15:12 +0200
commitd88cb582325830698de5071fa8b8c9e933dbbcad (patch)
tree257eea90a88b49720addf7035855eb3dfe0a88e4 /kernel/tracepoint.c
parent4539f07701b3f743580d19dc5d655fb8d21b0a3c (diff)
downloadop-kernel-dev-d88cb582325830698de5071fa8b8c9e933dbbcad.zip
op-kernel-dev-d88cb582325830698de5071fa8b8c9e933dbbcad.tar.gz
tracing: Eliminate code duplication in kernel/tracepoint.c
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>
Diffstat (limited to 'kernel/tracepoint.c')
-rw-r--r--kernel/tracepoint.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c
index 35dd27a..06f165a 100644
--- a/kernel/tracepoint.c
+++ b/kernel/tracepoint.c
@@ -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);
OpenPOWER on IntegriCloud