projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e09e286
)
ftrace: Remove an unneeded condition
author
Dan Carpenter
<dan.carpenter@oracle.com>
Fri, 31 Mar 2017 15:21:30 +0000
(18:21 +0300)
committer
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Thu, 4 May 2017 02:15:12 +0000
(22:15 -0400)
We know that "mod_matches" is true here so there is no need to check
again.
Link:
http://lkml.kernel.org/r/20170331152130.GA4947@mwanda
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/ftrace.c
b/kernel/trace/ftrace.c
index 00077a57b7468660f8629b915fcb0fcf17966d26..84286d347cd8de0d52cae808f9e20f62c0fd7926 100644
(file)
--- a/
kernel/trace/ftrace.c
+++ b/
kernel/trace/ftrace.c
@@
-3644,7
+3644,7
@@
ftrace_match_record(struct dyn_ftrace *rec, struct ftrace_glob *func_g,
return 0;
}
- if (
mod_matches &&
exclude_mod)
+ if (exclude_mod)
return 0;
func_match: