From: Oleg Nesterov Date: Wed, 31 Jul 2013 17:31:37 +0000 (+0200) Subject: tracing: Kill the !CONFIG_MODULES code in trace_events.c X-Git-Tag: v3.12-rc1~79^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=836d481ed7c91152c6144ea3a3363cad3940b3e0;p=pandora-kernel.git tracing: Kill the !CONFIG_MODULES code in trace_events.c 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed