Commit ab00a41e authored by Mayank Rana's avatar Mayank Rana Committed by Greg Kroah-Hartman

usb: dwc3: trace: Remove unused fields in dwc3_log_trb

Commit 0bd0f6d2 ("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: default avatarMayank Rana <mrana@codeaurora.org>
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
Link: https://lore.kernel.org/r/20210527012924.3596-1-jackp@codeaurora.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent acad3e9c
...@@ -222,8 +222,6 @@ DECLARE_EVENT_CLASS(dwc3_log_trb, ...@@ -222,8 +222,6 @@ DECLARE_EVENT_CLASS(dwc3_log_trb,
TP_STRUCT__entry( TP_STRUCT__entry(
__string(name, dep->name) __string(name, dep->name)
__field(struct dwc3_trb *, trb) __field(struct dwc3_trb *, trb)
__field(u32, allocated)
__field(u32, queued)
__field(u32, bpl) __field(u32, bpl)
__field(u32, bph) __field(u32, bph)
__field(u32, size) __field(u32, size)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment