From c4fe9700e6bb769059608f768d2efd3d80a69630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 21 Feb 2017 18:14:45 +0400 Subject: usb: replace handle_destroy with unrealize MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Marc-André Lureau Message-id: 20170221141451.28305-25-marcandre.lureau@redhat.com Signed-off-by: Gerd Hoffmann --- include/hw/usb.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/hw/usb.h') 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 @@ -290,11 +290,6 @@ typedef struct USBDeviceClass { */ void (*cancel_packet)(USBDevice *dev, USBPacket *p); - /* - * Called when device is destroyed. - */ - void (*handle_destroy)(USBDevice *dev); - /* * Attach the device */ -- cgit v1.2.3