]> git.proxmox.com Git - qemu.git/commitdiff
remove double semicolons
authorDong Xu Wang <wdongxu@linux.vnet.ibm.com>
Thu, 9 May 2013 07:53:50 +0000 (15:53 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 12 May 2013 09:25:55 +0000 (13:25 +0400)
Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
block/nbd.c
fsdev/virtfs-proxy-helper.c
hw/9pfs/virtio-9p-local.c
hw/i386/pc_q35.c
hw/intc/imx_avic.c
hw/usb/host-linux.c
qga/channel-win32.c

index fab114bbb5410a857766468a5ccad0e2aae6aa8d..30e3b78e17eccf3cd26f0f93ac74dbd5c944ea85 100644 (file)
@@ -609,7 +609,7 @@ static int nbd_co_discard(BlockDriverState *bs, int64_t sector_num,
         return 0;
     }
     request.type = NBD_CMD_TRIM;
-    request.from = sector_num * 512;;
+    request.from = sector_num * 512;
     request.len = nb_sectors * 512;
 
     nbd_coroutine_start(s, &request);
index 36f66163b2d03ce2bf33e1567769d1ca44d81f49..713a7b2b87a43bb41c1597a10d8427293c816e9d 100644 (file)
@@ -248,7 +248,7 @@ static int send_fd(int sockfd, int fd)
 static int send_status(int sockfd, struct iovec *iovec, int status)
 {
     ProxyHeader header;
-    int retval, msg_size;;
+    int retval, msg_size;
 
     if (status < 0) {
         header.type = T_ERROR;
@@ -381,7 +381,7 @@ static int send_response(int sock, struct iovec *iovec, int size)
     proxy_marshal(iovec, 0, "dd", header.type, header.size);
     retval = socket_write(sock, iovec->iov_base, header.size + PROXY_HDR_SZ);
     if (retval < 0) {
-        return retval;;
+        return retval;
     }
     return 0;
 }
index be898eccd91278a0b3f84a1a849eb2aa8338316d..6ece6f7d1c7b03c7285e0b673b24d9dd7e34132f 100644 (file)
@@ -878,7 +878,7 @@ static int local_remove(FsContext *ctx, const char *path)
          * Now remove the name from parent directory
          * .virtfs_metadata directory
          */
-        err = remove(local_mapped_attr_path(ctx, path, buffer));;
+        err = remove(local_mapped_attr_path(ctx, path, buffer));
         if (err < 0 && errno != ENOENT) {
             /*
              * We didn't had the .virtfs_metadata file. May be file created
index 4160e2ba3799408fe9db58a911848495619eddaa..68253807c13bb7610490e73136d8ebe804e60157 100644 (file)
@@ -128,7 +128,7 @@ static void pc_q35_init(QEMUMachineInitArgs *args)
     q35_host->mch.ram_memory = ram_memory;
     q35_host->mch.pci_address_space = pci_memory;
     q35_host->mch.system_memory = get_system_memory();
-    q35_host->mch.address_space_io = get_system_io();;
+    q35_host->mch.address_space_io = get_system_io();
     q35_host->mch.below_4g_mem_size = below_4g_mem_size;
     q35_host->mch.above_4g_mem_size = above_4g_mem_size;
     /* pci */
index 4e280b6ab98886edcfaa4e21c5703cc6ba055c24..ff45dcdc0dbb807e9e8255c2cb550658c58cfcf9 100644 (file)
@@ -370,7 +370,7 @@ static void imx_avic_reset(DeviceState *dev)
 
 static int imx_avic_init(SysBusDevice *dev)
 {
-    IMXAVICState *s = FROM_SYSBUS(IMXAVICState, dev);;
+    IMXAVICState *s = FROM_SYSBUS(IMXAVICState, dev);
 
     memory_region_init_io(&s->iomem, &imx_avic_ops, s, "imx_avic", 0x1000);
     sysbus_init_mmio(dev, &s->iomem);
index 8994668dcd1610d9754791ba882f410a12231b3d..ca09a891eed20d314f2585317bb637d5c734d4e1 100644 (file)
@@ -651,7 +651,7 @@ static void usb_host_handle_reset(USBDevice *dev)
 
     trace_usb_host_reset(s->bus_num, s->addr);
 
-    usb_host_do_reset(s);;
+    usb_host_do_reset(s);
 
     usb_host_claim_interfaces(s, 0);
     usb_linux_update_endp_table(s);
@@ -1429,7 +1429,7 @@ static void usb_host_exit_notifier(struct Notifier *n, void *data)
 
     usb_host_release_port(s);
     if (s->fd != -1) {
-        usb_host_do_reset(s);;
+        usb_host_do_reset(s);
     }
 }
 
index 7ed98d72fb976df5d25df6a7fadf39b5f8c09efe..8a303f35ecabfa5e9e6d0a04066e19359639f7d9 100644 (file)
@@ -268,7 +268,7 @@ static GIOStatus ga_channel_write(GAChannel *c, const char *buf, size_t size,
 
 GIOStatus ga_channel_write_all(GAChannel *c, const char *buf, size_t size)
 {
-    GIOStatus status = G_IO_STATUS_NORMAL;;
+    GIOStatus status = G_IO_STATUS_NORMAL;
     size_t count;
 
     while (size) {