Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- src/usb-device-manager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/usb-device-manager.c b/src/usb-device-manager.c index 0a04b119..426a0cd7 100644 --- a/src/usb-device-manager.c +++ b/src/usb-device-manager.c @@ -733,8 +733,8 @@ static void spice_usb_device_manager_auto_connect_cb(GObject *gobject, } static gboolean -spice_usb_device_manager_device_match(SpiceUsbDeviceManager *self, SpiceUsbDevice *device, - const int bus, const int address) +spice_usb_device_match(SpiceUsbDevice *device, + const int bus, const int address) { return (spice_usb_device_get_busnum(device) == bus && spice_usb_device_get_devaddr(device) == address); @@ -750,7 +750,7 @@ spice_usb_device_manager_find_device(SpiceUsbDeviceManager *self, for (i = 0; i < priv->devices->len; i++) { curr = g_ptr_array_index(priv->devices, i); - if (spice_usb_device_manager_device_match(self, curr, bus, address)) { + if (spice_usb_device_match(curr, bus, address)) { device = curr; break; } -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel