Unify with other places for better readability. Signed-off-by: Yuri Benditovich <yuri.benditovich@xxxxxxxxxx> --- src/usb-backend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/usb-backend.c b/src/usb-backend.c index c2268e3..53ac430 100644 --- a/src/usb-backend.c +++ b/src/usb-backend.c @@ -83,10 +83,10 @@ static void get_usb_device_info_from_libusb_device(UsbDeviceInformation *info, info->protocol = desc.bDeviceProtocol; } -static gboolean fill_usb_info(SpiceUsbBackendDevice *bdev) +static gboolean fill_usb_info(SpiceUsbBackendDevice *dev) { - UsbDeviceInformation *info = &bdev->device_info; - get_usb_device_info_from_libusb_device(info, bdev->libusb_device); + UsbDeviceInformation *info = &dev->device_info; + get_usb_device_info_from_libusb_device(info, dev->libusb_device); if (info->address == 0xff || /* root hub (HCD) */ info->address <= 1 || /* root hub or bad address */ -- 2.17.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel