From: Anirban Sinha Date: Tue, 25 Aug 2009 14:00:02 +0000 (-0700) Subject: tracing: Eliminate code duplication in kernel/tracepoint.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d88cb582325830698de5071fa8b8c9e933dbbcad;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git tracing: Eliminate code duplication in kernel/tracepoint.c Signed-off-by: Anirban Sinha Reviewed-by: Li Zefan Cc: "Oleg Nesterov" LKML-Reference: Signed-off-by: Ingo Molnar --- 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, 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);