diff options
| author | 2016-11-03 14:07:51 +0200 | |
|---|---|---|
| committer | 2016-11-08 12:52:13 +0200 | |
| commit | 5eb30cedced64cea63005555c1ef67359ffe191f (patch) | |
| tree | 1d4425e3d82b22fa1aaa54e82e84e2df2d040a67 /drivers/usb/dwc3/debug.h | |
| parent | usb: dwc3: trace: add a tracepoint for ep enable/disable (diff) | |
| download | linux-dev-5eb30cedced64cea63005555c1ef67359ffe191f.tar.xz linux-dev-5eb30cedced64cea63005555c1ef67359ffe191f.zip | |
usb: dwc3: trace: purge dwc3_trace()
Finally get rid of dwc3_trace() hack. If any other
message is truly needed, we should add proper
tracepoints for them instead of hacking around with
dwc3_trace() or similar.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/debug.h')
| -rw-r--r-- | drivers/usb/dwc3/debug.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/usb/dwc3/debug.h b/drivers/usb/dwc3/debug.h index d93780e84f07..eeed4ffd8131 100644 --- a/drivers/usb/dwc3/debug.h +++ b/drivers/usb/dwc3/debug.h @@ -345,13 +345,6 @@ static inline const char *dwc3_gadget_generic_cmd_status_string(int status) } -#if IS_ENABLED(CONFIG_FTRACE) -void dwc3_trace(void (*trace)(struct va_format *), const char *fmt, ...); -#else -static inline void dwc3_trace(void (*trace)(struct va_format *), const char *fmt, ...) -{ } -#endif - #ifdef CONFIG_DEBUG_FS extern void dwc3_debugfs_init(struct dwc3 *); extern void dwc3_debugfs_exit(struct dwc3 *); |
