Commit ff17992b authored by Frediano Ziglio's avatar Frediano Ziglio Committed by Snir Sheriber

usb-device-manager: Remove useless cast

spice_usb_device_new is already returning a SpiceUsbDevice pointer.
Signed-off-by: Frediano Ziglio's avatarFrediano Ziglio <>
Acked-by: Snir Sheriber's avatarSnir Sheriber <>
parent 1ab015b3
Pipeline #51745 passed with stage
in 4 minutes and 40 seconds
......@@ -776,7 +776,7 @@ static void spice_usb_device_manager_add_dev(SpiceUsbDeviceManager *self,
device = (SpiceUsbDevice*)spice_usb_device_new(bdev);
device = spice_usb_device_new(bdev);
if (!device)
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