[Spice-devel] [spice-gtk v2 4/9] usb-redir: change parameter name 'bdev' to 'dev'
Yuri Benditovich
yuri.benditovich at daynix.com
Tue Jul 23 07:27:03 UTC 2019
Unify with other places for better readability.
Signed-off-by: Yuri Benditovich <yuri.benditovich at daynix.com>
---
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
More information about the Spice-devel
mailing list