From: zhangwei(Jovi) Date: Fri, 14 Jun 2013 02:10:38 +0000 (+0800) Subject: tracing/kprobes: Remove unnecessary checking of trace_probe_is_enabled X-Git-Tag: v3.11-rc1~33^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=195a84d91e92ee3fe571a2086a6db7e17bf5bc7c;p=pandora-kernel.git 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 Cc: Frederic Weisbecker Cc: Oleg Nesterov Cc: Srikar Dronamraju Signed-off-by: zhangwei(Jovi) Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed