Skip to content
Commit 57b14da5 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: don't compile dwc3_trace() unless CONFIG_FTRACE=y



We don't need dwc3_trace() unless we're building a
kernel with CONFIG_FTRACE. This patch reduces
dwc3.ko text size a bit while also removing overhead
of dwc3_trace() calls.

   text    data     bss     dec     hex filename
  50796     581       0   51377    c8b1 drivers/usb/dwc3/dwc3.o
  43961     581       0   44542    adfe drivers/usb/dwc3/dwc3.o.patched

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent a97ea994
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment