[spice-gtk,06/44] fixup! usb-redir: define interfaces to support emulated devices

Submitted by Frediano Ziglio on July 30, 2019, 12:02 p.m.

Details

Message ID 20190730120331.17967-7-fziglio@redhat.com
State Superseded
Headers show
Series "Follow ups for CD emulation patch series" ( rev: 1 ) in Spice

Not browsing as part of any series.

Commit Message

Frediano Ziglio July 30, 2019, 12:02 p.m.
Remove unneeded address field from UsbCreateDeviceParameters
---
 src/usb-backend.c | 1 -
 src/usb-backend.h | 2 --
 2 files changed, 3 deletions(-)

Patch hide | download patch | download mbox

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