diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-02-21 18:14:45 +0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-02-23 15:40:19 +0100 |
commit | c4fe9700e6bb769059608f768d2efd3d80a69630 (patch) | |
tree | 4ea9be9088a26b520d9043785dab4ba2d1045b98 /include/hw | |
parent | 796b288f7be875045670f963ce99991b3c8e96ac (diff) |
usb: replace handle_destroy with unrealize
Curiously, unrealize() is not being used, but it seems more
appropriate than handle_destroy() together with realize(). It is more
ubiquitous destroy name in qemu code base and may throw errors.
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20170221141451.28305-25-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/usb.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/hw/usb.h b/include/hw/usb.h index c42b29c866..eb28655270 100644 --- a/include/hw/usb.h +++ b/include/hw/usb.h @@ -291,11 +291,6 @@ typedef struct USBDeviceClass { void (*cancel_packet)(USBDevice *dev, USBPacket *p); /* - * Called when device is destroyed. - */ - void (*handle_destroy)(USBDevice *dev); - - /* * Attach the device */ void (*handle_attach)(USBDevice *dev); |