Re: [PATCH spice-gtk] usb-device-manager: Remove unused parameter from spice_usb_device_manager_device_match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Acked-by: Snir Sheriber <ssheribe@xxxxxxxxxx>

On 8/1/19 4:04 PM, Frediano Ziglio wrote:
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;
          }
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]