aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorMayank Rana <mrana@codeaurora.org>2021-05-26 18:29:24 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-27 09:30:01 +0200
commitab00a41e73dc06b5a140af8c796d1bf03f6ec4ca (patch)
treec3ca44689eecb55bd09d7e925752b44eaccbc5ea /drivers/usb/dwc3
parentusb: typec: mux: Remove requirement for the "orientation-switch" device property (diff)
downloadlinux-dev-ab00a41e73dc06b5a140af8c796d1bf03f6ec4ca.tar.xz
linux-dev-ab00a41e73dc06b5a140af8c796d1bf03f6ec4ca.zip
usb: dwc3: trace: Remove unused fields in dwc3_log_trb
Commit 0bd0f6d201eb ("usb: dwc3: gadget: remove allocated/queued request tracking") removed the allocated & queued fields from struct dwc3_ep but neglected to also remove them from the dwc3_log_trb event class's TP_STRUCT definition which are now unused. Remove them to save eight bytes per trace event entry. Signed-off-by: Mayank Rana <mrana@codeaurora.org> Signed-off-by: Jack Pham <jackp@codeaurora.org> Link: https://lore.kernel.org/r/20210527012924.3596-1-jackp@codeaurora.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/trace.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/trace.h b/drivers/usb/dwc3/trace.h
index 51d18e8d1602..cb998ba50fea 100644
--- a/drivers/usb/dwc3/trace.h
+++ b/drivers/usb/dwc3/trace.h
@@ -222,8 +222,6 @@ DECLARE_EVENT_CLASS(dwc3_log_trb,
TP_STRUCT__entry(
__string(name, dep->name)
__field(struct dwc3_trb *, trb)
- __field(u32, allocated)
- __field(u32, queued)
__field(u32, bpl)
__field(u32, bph)
__field(u32, size)