[PATCH spice-gtk v4 17/29] fixup! usb-redir: enable redirection of emulated CD drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]