aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/driver-trace.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-11-25 07:31:53 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-11-28 14:44:09 -0500
commit61c0d48f1565efdbab1e913c3cfda997e6299c41 (patch)
tree02197ee36a98903d74a86191ef3fe24204d1a120 /net/mac80211/driver-trace.h
parent30789eb6cbfcead5d90d27dc4e7d7389cacc528c (diff)
mac80211: remove tracing config symbol
There's little point in this config symbol, if tracing is disabled the overhead is negligible and if you think it's too bad you can always turn off tracing completely. Also remove the part where we don't have sparse check the tracing code -- it seems that it can now deal with it (or the code changed). Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/driver-trace.h')
-rw-r--r--net/mac80211/driver-trace.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/net/mac80211/driver-trace.h b/net/mac80211/driver-trace.h
index 2af4fca55337..6e9df8fd8fb8 100644
--- a/net/mac80211/driver-trace.h
+++ b/net/mac80211/driver-trace.h
@@ -5,17 +5,6 @@
5#include <net/mac80211.h> 5#include <net/mac80211.h>
6#include "ieee80211_i.h" 6#include "ieee80211_i.h"
7 7
8#if !defined(CONFIG_MAC80211_DRIVER_API_TRACER) || defined(__CHECKER__)
9#undef TRACE_EVENT
10#define TRACE_EVENT(name, proto, ...) \
11static inline void trace_ ## name(proto) {}
12#undef DECLARE_EVENT_CLASS
13#define DECLARE_EVENT_CLASS(...)
14#undef DEFINE_EVENT
15#define DEFINE_EVENT(evt_class, name, proto, ...) \
16static inline void trace_ ## name(proto) {}
17#endif
18
19#undef TRACE_SYSTEM 8#undef TRACE_SYSTEM
20#define TRACE_SYSTEM mac80211 9#define TRACE_SYSTEM mac80211
21 10