diff options
author | Linyu Yuan <[email protected]> | 2023-08-03 17:10:52 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-22 14:48:33 +0200 |
commit | dc2e6960a0a951c26c9644913db830f7a69bda89 (patch) | |
tree | fdc7127c8ad0d020a18c72443016ca5540c5ca84 /tools/perf/util/trace-event-scripting.c | |
parent | 4dfdd90b85f811fc2cbae0d5f87a8d3e9bee9b17 (diff) |
usb: gadget: composite: cleanup function config_ep_by_speed_and_alt()
When call this function, gadget already have working speed, if it is
USB_SPEED_SUPER_PLUS, in theroy gadget_is_superspeed_plus() checking
should be true, so there is no need to call it. it is same for other
working speed.
Remove all gadget_is_{*}speed_plus() API call to clean it up.
Signed-off-by: Linyu Yuan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions