diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2013-03-30 06:53:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-30 11:08:39 -0400 |
commit | 69b7e8d34f12a5770d57ccd38926d373e4599561 (patch) | |
tree | e3b433ed47d5acec390816adc80da2e442947802 /drivers/usb/chipidea/debug.h | |
parent | 571bb7abac4ed02cf7d5094b4a04a8bdca3783ed (diff) |
usb: chipidea: remove home-grown tracing facility
As part of the legacy from the original driver design, we retain home-grown
tracing infrastructure, complete with own ring buffer and timestamps,
which among other things has a performance penalty. This patch removes it.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/debug.h')
-rw-r--r-- | drivers/usb/chipidea/debug.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/usb/chipidea/debug.h b/drivers/usb/chipidea/debug.h index 80d96865775c..425f1ff6284a 100644 --- a/drivers/usb/chipidea/debug.h +++ b/drivers/usb/chipidea/debug.h | |||
@@ -14,34 +14,9 @@ | |||
14 | #define __DRIVERS_USB_CHIPIDEA_DEBUG_H | 14 | #define __DRIVERS_USB_CHIPIDEA_DEBUG_H |
15 | 15 | ||
16 | #ifdef CONFIG_USB_CHIPIDEA_DEBUG | 16 | #ifdef CONFIG_USB_CHIPIDEA_DEBUG |
17 | void dbg_interrupt(u32 intmask); | ||
18 | void dbg_done(u8 addr, const u32 token, int status); | ||
19 | void dbg_event(u8 addr, const char *name, int status); | ||
20 | void dbg_queue(u8 addr, const struct usb_request *req, int status); | ||
21 | void dbg_setup(u8 addr, const struct usb_ctrlrequest *req); | ||
22 | int dbg_create_files(struct device *dev); | 17 | int dbg_create_files(struct device *dev); |
23 | int dbg_remove_files(struct device *dev); | 18 | int dbg_remove_files(struct device *dev); |
24 | #else | 19 | #else |
25 | static inline void dbg_interrupt(u32 intmask) | ||
26 | { | ||
27 | } | ||
28 | |||
29 | static inline void dbg_done(u8 addr, const u32 token, int status) | ||
30 | { | ||
31 | } | ||
32 | |||
33 | static inline void dbg_event(u8 addr, const char *name, int status) | ||
34 | { | ||
35 | } | ||
36 | |||
37 | static inline void dbg_queue(u8 addr, const struct usb_request *req, int status) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | static inline void dbg_setup(u8 addr, const struct usb_ctrlrequest *req) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | static inline int dbg_create_files(struct device *dev) | 20 | static inline int dbg_create_files(struct device *dev) |
46 | { | 21 | { |
47 | return 0; | 22 | return 0; |