Remove unneeded address field from UsbCreateDeviceParameters --- src/usb-backend.c | 1 - src/usb-backend.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/usb-backend.c b/src/usb-backend.c index a447bbfe..eb228e88 100644 --- a/src/usb-backend.c +++ b/src/usb-backend.c @@ -925,7 +925,6 @@ gboolean spice_usb_backend_create_device(SpiceUsbBackend *be, dev->device_info.device_type = dev_type; dev->ref_count = 1; - param->address = address; if (be->dev_init[dev_type](be, dev, param, &edev)) { spice_usb_backend_device_unref(dev); return FALSE; diff --git a/src/usb-backend.h b/src/usb-backend.h index 8a04ed0d..76c552f5 100644 --- a/src/usb-backend.h +++ b/src/usb-backend.h @@ -102,8 +102,6 @@ void spice_usb_backend_return_write_data(SpiceUsbBackendChannel *ch, void *data) typedef struct UsbCreateDeviceParameters { GError *error; - uint32_t address; - uint32_t reserved; union { struct -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel