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

Submitted by Frediano Ziglio on Aug. 27, 2019, 9:22 a.m.

Details

Message ID 20190827092246.10276-18-fziglio@redhat.com
State Superseded
Headers show
Series "added feature of sharing CD image" ( rev: 6 ) in Spice

Not browsing as part of any series.

Commit Message

Frediano Ziglio Aug. 27, 2019, 9:22 a.m.
Minor styles, spaces, double end of statement.
---
 src/usb-device-cd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

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;

Comments