Remove libusb_device field
It is possible to retrieve the device instance from the handle via libusb_get_device(), so we don't need to reference the device one more time. PR #2974 <https://github.com/Genymobile/scrcpy/pull/2974>
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
|
||||
struct sc_usb {
|
||||
libusb_context *context;
|
||||
libusb_device *device;
|
||||
libusb_device_handle *handle;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user