]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ftrace: Remove ASSIGN_OPS_HASH() macro from ftrace.c
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 10 Apr 2019 14:45:38 +0000 (10:45 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 10 Apr 2019 14:45:38 +0000 (10:45 -0400)
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>
kernel/trace/ftrace.c

index 26c8ca9bd06b6725b84f42d6b635c0d256118ebb..bf11e0553450218bbdbf2bde041179bd2d681e87 100644 (file)
 #define INIT_OPS_HASH(opsname) \
        .func_hash              = &opsname.local_hash,                  \
        .local_hash.regex_lock  = __MUTEX_INITIALIZER(opsname.local_hash.regex_lock),
-#define ASSIGN_OPS_HASH(opsname, val) \
-       .func_hash              = val, \
-       .local_hash.regex_lock  = __MUTEX_INITIALIZER(opsname.local_hash.regex_lock),
 #else
 #define INIT_OPS_HASH(opsname)
-#define ASSIGN_OPS_HASH(opsname, val)
 #endif
 
 enum {