mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
2870e5013e
commit
5eb30cedce
6 changed files with 24 additions and 135 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue