diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-17 17:53:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-17 17:53:12 +0100 |
commit | d6fd08ce13160abc273481d0b29d833aabe379d0 (patch) | |
tree | 4df811d61e573ba1337b0ce8835b6e10608f3b6e | |
parent | b1c31712134d2b28877bbe01de1526a256ca676c (diff) | |
download | usbutils-d6fd08ce13160abc273481d0b29d833aabe379d0.tar.gz |
lsusb: remove unused wireless check
Wireless USB is long dead, and this check never actually worked, so
remove it.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | lsusb.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -3196,14 +3196,6 @@ dump_device_status(libusb_device_handle *fd, int otg, int wireless, int super_sp printf(" TxBeacon: : 0x%02x\n", status[1]); } -static int do_wireless(libusb_device_handle *fd) -{ - /* FIXME fetch and dump BOS etc */ - if (fd) - return 0; - return 0; -} - static void dump_usb2_device_capability_desc(unsigned char *buf) { unsigned int wide; @@ -3633,8 +3625,6 @@ static void dumpdev(libusb_device *dev) libusb_get_device_descriptor(dev, &desc); dump_device(dev, &desc); - if (desc.bcdUSB == 0x0250) - wireless = do_wireless(udev); if (desc.bNumConfigurations) { struct libusb_config_descriptor *config; |