mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
4539f07701
commit
d88cb58232
1 changed files with 0 additions and 3 deletions
|
@ -555,9 +555,6 @@ int tracepoint_module_notify(struct notifier_block *self,
|
||||||
|
|
||||||
switch (val) {
|
switch (val) {
|
||||||
case MODULE_STATE_COMING:
|
case MODULE_STATE_COMING:
|
||||||
tracepoint_update_probe_range(mod->tracepoints,
|
|
||||||
mod->tracepoints + mod->num_tracepoints);
|
|
||||||
break;
|
|
||||||
case MODULE_STATE_GOING:
|
case MODULE_STATE_GOING:
|
||||||
tracepoint_update_probe_range(mod->tracepoints,
|
tracepoint_update_probe_range(mod->tracepoints,
|
||||||
mod->tracepoints + mod->num_tracepoints);
|
mod->tracepoints + mod->num_tracepoints);
|
||||||
|
|
Loading…
Reference in a new issue