tracing: Kill the !CONFIG_MODULES code in trace_events.c
authorOleg Nesterov <oleg@redhat.com>
Wed, 31 Jul 2013 17:31:37 +0000 (19:31 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 22 Aug 2013 03:28:03 +0000 (23:28 -0400)
Move trace_module_nb under CONFIG_MODULES and kill the dummy
trace_module_notify(). Imho it doesn't make sense to define
"struct notifier_block" and its .notifier_call just to avoid
"ifdef" in event_trace_init(), and all other !CONFIG_MODULES
code has already gone away.

Link: http://lkml.kernel.org/r/20130731173137.GA31043@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events.c

Simple merge