aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAnirban Sinha <ASinha@zeugmasystems.com>2009-08-25 10:00:02 -0400
committerIngo Molnar <mingo@elte.hu>2009-08-25 10:15:12 -0400
commitd88cb582325830698de5071fa8b8c9e933dbbcad (patch)
tree257eea90a88b49720addf7035855eb3dfe0a88e4 /kernel
parent4539f07701b3f743580d19dc5d655fb8d21b0a3c (diff)
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')
-rw-r--r--kernel/tracepoint.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c
index 35dd27adb82c..06f165a44083 100644
--- a/kernel/tracepoint.c
+++ b/kernel/tracepoint.c
@@ -555,9 +555,6 @@ int tracepoint_module_notify(struct notifier_block *self,
555 555
556 switch (val) { 556 switch (val) {
557 case MODULE_STATE_COMING: 557 case MODULE_STATE_COMING:
558 tracepoint_update_probe_range(mod->tracepoints,
559 mod->tracepoints + mod->num_tracepoints);
560 break;
561 case MODULE_STATE_GOING: 558 case MODULE_STATE_GOING:
562 tracepoint_update_probe_range(mod->tracepoints, 559 tracepoint_update_probe_range(mod->tracepoints,
563 mod->tracepoints + mod->num_tracepoints); 560 mod->tracepoints + mod->num_tracepoints);