diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2023-10-18 00:11:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-21 13:53:55 +0300 |
commit | c9a1d9e74a43ae8f2d1718243c1de277dc0e7027 (patch) | |
tree | 98ca09ec2e85bed8b11b1e496664785b9a3744c2 /scripts/gdb/linux/proc.py | |
parent | 1a4a2df07c1f087704c24282cebe882268e38146 (diff) | |
download | linux-c9a1d9e74a43ae8f2d1718243c1de277dc0e7027.tar.xz |
usb: core: Remove duplicated check in usb_hub_create_port_device
Simplify the code by not calling hub_is_superspeed() twice.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/b1d77cbc-faa3-4d07-94ff-f6ffb85c6964@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions