usb_ecm: Disable tracing by default.

(cherry picked from commit f156c66999)

Change-Id: I7f554ec14ebae0d76a0fce693b5eb66871ddd312
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5784
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Augustin Cavalier 2022-11-11 15:47:41 -05:00 committed by waddlesplash
parent 5e02b97319
commit 6414eef107

View File

@ -74,10 +74,14 @@ typedef struct {
} usb_ecm_driver_info;
#ifdef TRACE_ECM
#define TRACE(x...) dprintf(DRIVER_NAME ": " x)
#define TRACE_ALWAYS(x...) dprintf(DRIVER_NAME ": " x)
#define CALLED() TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
#else
#define TRACE(x...)
#define CALLED()
#endif
#define TRACE_ALWAYS(x...) dprintf(DRIVER_NAME ": " x)
#endif //_USB_ECM_DRIVER_H_