[Spice-devel] [PATCH spice-gtk 09/14] usb: remove useless assignment
Jonathon Jongsma
jjongsma at redhat.com
Wed Apr 23 14:19:19 PDT 2014
ACK
----- Original Message -----
> From: "Marc-André Lureau" <marcandre.lureau at gmail.com>
> To: spice-devel at freedesktop.org
> Sent: Wednesday, April 23, 2014 1:09:14 PM
> Subject: [Spice-devel] [PATCH spice-gtk 09/14] usb: remove useless assignment
>
> The struct is g_new0() already.
> ---
> gtk/usb-device-manager.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/gtk/usb-device-manager.c b/gtk/usb-device-manager.c
> index af993aa..c87efd5 100644
> --- a/gtk/usb-device-manager.c
> +++ b/gtk/usb-device-manager.c
> @@ -1565,9 +1565,6 @@ void
> spice_usb_device_manager_disconnect_device(SpiceUsbDeviceManager *self,
> cbinfo->manager = self;
> cbinfo->device = device;
> cbinfo->installer = installer;
> - cbinfo->cancellable = NULL;
> - cbinfo->callback = NULL;
> - cbinfo->user_data = NULL;
>
> spice_win_usb_driver_uninstall_async(installer, device, NULL,
> spice_usb_device_manager_drv_uninstall_cb,
> --
> 1.8.5.3
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
More information about the Spice-devel
mailing list