[Spice-devel] [PATCH spice-gtk v4 17/29] fixup! usb-redir: enable redirection of emulated CD drive
Frediano Ziglio
fziglio at redhat.com
Tue Aug 27 09:22:34 UTC 2019
Minor styles, spaces, double end of statement.
---
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 2234289c..2f421c42 100644
--- a/src/usb-device-cd.c
+++ b/src/usb-device-cd.c
@@ -86,7 +86,7 @@ struct SpiceUsbEmulatedDevice {
struct BufferedBulkRead read_bulk[MAX_BULK_IN_REQUESTS];
/* according to USB MSC spec */
uint16_t serial[12];
- uint8_t max_lun_index;
+ uint8_t max_lun_index;
};
typedef struct SpiceUsbEmulatedDevice UsbCd;
@@ -530,7 +530,7 @@ static void usb_cd_control_request(UsbCd *device,
// returning one byte
if (h->length) {
h->length = 1;
- h->status = usb_redir_success;;
+ h->status = usb_redir_success;
*buffer = &device->max_lun_index;
}
break;
--
2.20.1
More information about the Spice-devel
mailing list