mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
usbtest: fix usbtest compilation error by an unused variable
Approved by: lwhsu (mentor), markj (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D51867
This commit is contained in:
parent
aef16fc30b
commit
1344979687
1 changed files with 0 additions and 4 deletions
|
|
@ -952,7 +952,6 @@ find_usb_endpoints(struct libusb20_device *pdev, uint8_t class,
|
|||
struct libusb20_interface *iface;
|
||||
struct libusb20_endpoint *ep;
|
||||
uint8_t x;
|
||||
uint8_t y;
|
||||
uint8_t z;
|
||||
|
||||
*in_ep = 0;
|
||||
|
|
@ -966,9 +965,6 @@ find_usb_endpoints(struct libusb20_device *pdev, uint8_t class,
|
|||
return;
|
||||
|
||||
for (x = 0; x != pcfg->num_interface; x++) {
|
||||
|
||||
y = alt_setting;
|
||||
|
||||
iface = (pcfg->interface + x);
|
||||
|
||||
if ((iface->desc.bInterfaceClass == class) &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue