diff options
| author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-04-10 10:45:38 -0400 |
|---|---|---|
| committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-04-10 10:45:38 -0400 |
| commit | ee6a6500fe1f5c5a3f18de33fe0178a3c627f6d0 (patch) | |
| tree | 546a014d1a39301a30cf72f13482be84bbacef55 | |
| parent | 4f5fbd78a7b40bab538ae0d316363530da751e42 (diff) | |
ftrace: Remove ASSIGN_OPS_HASH() macro from ftrace.c
The ASSIGN_OPS_HASH() macro was moved to fgraph.c where it was used, but for
some reason it wasn't removed from ftrace.c, as it is no longer referenced
there.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
| -rw-r--r-- | kernel/trace/ftrace.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 26c8ca9bd06b..bf11e0553450 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
| @@ -69,12 +69,8 @@ | |||
| 69 | #define INIT_OPS_HASH(opsname) \ | 69 | #define INIT_OPS_HASH(opsname) \ |
| 70 | .func_hash = &opsname.local_hash, \ | 70 | .func_hash = &opsname.local_hash, \ |
| 71 | .local_hash.regex_lock = __MUTEX_INITIALIZER(opsname.local_hash.regex_lock), | 71 | .local_hash.regex_lock = __MUTEX_INITIALIZER(opsname.local_hash.regex_lock), |
| 72 | #define ASSIGN_OPS_HASH(opsname, val) \ | ||
| 73 | .func_hash = val, \ | ||
| 74 | .local_hash.regex_lock = __MUTEX_INITIALIZER(opsname.local_hash.regex_lock), | ||
| 75 | #else | 72 | #else |
| 76 | #define INIT_OPS_HASH(opsname) | 73 | #define INIT_OPS_HASH(opsname) |
| 77 | #define ASSIGN_OPS_HASH(opsname, val) | ||
| 78 | #endif | 74 | #endif |
| 79 | 75 | ||
| 80 | enum { | 76 | enum { |
