Commit e019a2f0 authored by Frediano Ziglio's avatar Frediano Ziglio

usb-device-manager: Remove unused parameter from spice_usb_device_manager_device_match

Signed-off-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
Acked-by: Snir Sheriber's avatarSnir Sheriber <ssheribe@redhat.com>
parent 73ef35f9
Pipeline #52817 passed with stage
in 3 minutes and 53 seconds
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment