Index: device/usb/usb_descriptors.h |
diff --git a/device/usb/usb_descriptors.h b/device/usb/usb_descriptors.h |
index a1414154ff757eea25b14b20b967a2b3ded761d3..c99a6def7bf9e3e37c1849517e572bc692a895fe 100644 |
--- a/device/usb/usb_descriptors.h |
+++ b/device/usb/usb_descriptors.h |
@@ -85,8 +85,6 @@ |
uint8_t interface_protocol; |
std::vector<UsbEndpointDescriptor> endpoints; |
std::vector<uint8_t> extra_data; |
- // First interface of the function to which this interface belongs. |
- uint8_t first_interface; |
}; |
struct UsbConfigDescriptor { |
@@ -96,10 +94,6 @@ |
uint16_t maximum_power); |
UsbConfigDescriptor() = delete; |
~UsbConfigDescriptor(); |
- |
- // Scans through |extra_data| for interface association descriptors and |
- // populates |first_interface| for each interface in this configuration. |
- void AssignFirstInterfaceNumbers(); |
uint8_t configuration_value; |
bool self_powered; |