[Spice-devel] [PATCH spice-gtk 31/44] fixup! usb-redir: add implementation of emulated CD device
Frediano Ziglio
fziglio at redhat.com
Tue Jul 30 12:03:19 UTC 2019
Rename delete to unrealize as discussed on ML.
---
src/usb-device-cd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/usb-device-cd.c b/src/usb-device-cd.c
index 18dbcea8..78e8f408 100644
--- a/src/usb-device-cd.c
+++ b/src/usb-device-cd.c
@@ -400,7 +400,7 @@ static gboolean load_lun(UsbCd *d, int unit, gboolean load)
return b;
}
-static void usb_cd_delete(UsbCd *d)
+static void usb_cd_unrealize(UsbCd *d)
{
uint32_t unit = 0;
cd_usb_bulk_msd_unrealize(d->msc, unit);
@@ -722,7 +722,7 @@ static const UsbDeviceOps devops =
.bulk_out_request = usb_cd_bulk_out_request,
.bulk_in_request = usb_cd_bulk_in_request,
.cancel_request = usb_cd_cancel_request,
- .delete = usb_cd_delete,
+ .unrealize = usb_cd_unrealize,
};
static int usb_cd_create(SpiceUsbBackend *be,
--
2.20.1
More information about the Spice-devel
mailing list