diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2014-06-26 15:55:43 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2015-06-05 13:44:41 +0200 |
commit | 47abb9549c067aa0f523725ad44997f6c92121f4 (patch) | |
tree | 27197298832ebe8b0144533b0e2bcc2bd2903c11 | |
parent | 534afdf899b6f9af93598d795027d5cbb8e59346 (diff) |
usb: remove useless assignments
The struct is g_new0() already.
-rw-r--r-- | gtk/usb-device-manager.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/usb-device-manager.c b/gtk/usb-device-manager.c index 67d9919..d700dcd 100644 --- a/gtk/usb-device-manager.c +++ b/gtk/usb-device-manager.c @@ -1556,9 +1556,6 @@ void spice_usb_device_manager_disconnect_device(SpiceUsbDeviceManager *self, cbinfo->manager = self; cbinfo->device = spice_usb_device_ref(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, |