usb: dwc3: remove dwc3_log_msg trace class
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 1 Mar 2017 00:44:06 +0000 (08:44 +0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 27 Mar 2017 07:46:34 +0000 (10:46 +0300)
dwc3_log_msg trace class isn't used any more. Suggest to remove it.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/trace.h

index 2b124f9..69671e4 100644 (file)
 #include "core.h"
 #include "debug.h"
 
-DECLARE_EVENT_CLASS(dwc3_log_msg,
-       TP_PROTO(struct va_format *vaf),
-       TP_ARGS(vaf),
-       TP_STRUCT__entry(__dynamic_array(char, msg, DWC3_MSG_MAX)),
-       TP_fast_assign(
-               vsnprintf(__get_str(msg), DWC3_MSG_MAX, vaf->fmt, *vaf->va);
-       ),
-       TP_printk("%s", __get_str(msg))
-);
-
-DEFINE_EVENT(dwc3_log_msg, dwc3_gadget,
-       TP_PROTO(struct va_format *vaf),
-       TP_ARGS(vaf)
-);
-
-DEFINE_EVENT(dwc3_log_msg, dwc3_core,
-       TP_PROTO(struct va_format *vaf),
-       TP_ARGS(vaf)
-);
-
-DEFINE_EVENT(dwc3_log_msg, dwc3_ep0,
-       TP_PROTO(struct va_format *vaf),
-       TP_ARGS(vaf)
-);
-
 DECLARE_EVENT_CLASS(dwc3_log_io,
        TP_PROTO(void *base, u32 offset, u32 value),
        TP_ARGS(base, offset, value),