diff options
author | zhangwei(Jovi) <jovi.zhangwei@huawei.com> | 2013-06-14 02:10:38 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-06-20 03:32:08 (GMT) |
commit | 195a84d91e92ee3fe571a2086a6db7e17bf5bc7c (patch) | |
tree | dd39d72abecfc8b23f3142d97802ab2a46bbe06d /kernel/.gitignore | |
parent | de7edd31457b626e54a0b2a7e8ff4d65492f01ad (diff) | |
download | linux-195a84d91e92ee3fe571a2086a6db7e17bf5bc7c.tar.xz |
tracing/kprobes: Remove unnecessary checking of trace_probe_is_enabled
Since tp->flags assignment was moved into function enable_trace_probe(),
there is no need to use trace_probe_is_enabled to check flags
in the same function.
Remove the unnecessary checking.
Link: http://lkml.kernel.org/r/51BA7B9E.3040807@huawei.com
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/.gitignore')
0 files changed, 0 insertions, 0 deletions