Cleanup: eliminate code duplication in kernel/tracepoint.c

From: Anirban Sinha
Date: Mon Aug 24 2009 - 18:52:20 EST



Signed-off-by: Anirban Sinha <asinha@xxxxxxxxxxxxxxxxx>
---
kernel/tracepoint.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c
index 1ef5d3a..4840ab6 100644
--- a/kernel/tracepoint.c
+++ b/kernel/tracepoint.c
@@ -554,9 +554,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);
--
1.6.4