diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-06 01:32:21 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-06 01:32:21 -0400 |
commit | a2ca5e03b6a5a1d401062f0a7f78888cf9e5e3b0 (patch) | |
tree | b3c35ebab71bf1d944acfed671d2a02cf5304017 /lib/locking-selftest-wlock-hardirq.h | |
parent | 1a0799a8fef5acc6503f9c5e79b2cd003317826c (diff) |
tracing/events: Only define remove_subsystem_dir() if CONFIG_MODULES
If we disable modules, we get the following warning in ftrace events
file:
kernel/trace/trace_events.c:912: attention : ‘remove_subsystem_dir’ defined but not used
remove_subystem_dir() is useless if !CONFIG_MODULES, then move it to
the appropriate #ifdef section of trace_events.c
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'lib/locking-selftest-wlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions