[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 04/26] maint: remove double semicolons in many file
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 04/26] maint: remove double semicolons in many files |
Date: |
Fri, 11 Sep 2015 14:03:28 +0300 |
From: "Daniel P. Berrange" <address@hidden>
A number of source files have statements accidentally
terminated by a double semicolon - eg 'foo = bar;;'.
This is harmless but a mistake none the less.
The tcg/ia64/tcg-target.c file is whitelisted because
it has valid use of ';;' in a comment containing assembly
code.
Signed-off-by: Daniel P. Berrange <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
block/vhdx.c | 2 +-
hw/arm/vexpress.c | 4 ++--
hw/intc/arm_gic.c | 2 +-
numa.c | 2 +-
qga/commands-win32.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/block/vhdx.c b/block/vhdx.c
index 0776de7..f05c7a9 100644
--- a/block/vhdx.c
+++ b/block/vhdx.c
@@ -1454,7 +1454,7 @@ static int vhdx_create_new_metadata(BlockDriverState *bs,
uint32_t offset = 0;
void *buffer = NULL;
void *entry_buffer;
- VHDXMetadataTableHeader *md_table;;
+ VHDXMetadataTableHeader *md_table;
VHDXMetadataTableEntry *md_table_entry;
/* Metadata entries */
diff --git a/hw/arm/vexpress.c b/hw/arm/vexpress.c
index da21788..0f8bf1c 100644
--- a/hw/arm/vexpress.c
+++ b/hw/arm/vexpress.c
@@ -541,7 +541,7 @@ static void vexpress_common_init(MachineState *machine)
{
VexpressMachineState *vms = VEXPRESS_MACHINE(machine);
VexpressMachineClass *vmc = VEXPRESS_MACHINE_GET_CLASS(machine);
- VEDBoardInfo *daughterboard = vmc->daughterboard;;
+ VEDBoardInfo *daughterboard = vmc->daughterboard;
DeviceState *dev, *sysctl, *pl041;
qemu_irq pic[64];
uint32_t sys_id;
@@ -762,7 +762,7 @@ static void vexpress_a9_class_init(ObjectClass *oc, void
*data)
mc->name = TYPE_VEXPRESS_A9_MACHINE;
mc->desc = "ARM Versatile Express for Cortex-A9";
- vmc->daughterboard = &a9_daughterboard;;
+ vmc->daughterboard = &a9_daughterboard;
}
static void vexpress_a15_class_init(ObjectClass *oc, void *data)
diff --git a/hw/intc/arm_gic.c b/hw/intc/arm_gic.c
index 2df550c..8bad132 100644
--- a/hw/intc/arm_gic.c
+++ b/hw/intc/arm_gic.c
@@ -323,7 +323,7 @@ uint32_t gic_acknowledge_irq(GICState *s, int cpu,
MemTxAttrs attrs)
* for the case where this GIC supports grouping and the pending interrupt
* is in the wrong group.
*/
- irq = gic_get_current_pending_irq(s, cpu, attrs);;
+ irq = gic_get_current_pending_irq(s, cpu, attrs);
if (irq >= GIC_MAXIRQ) {
DPRINTF("ACK, no pending interrupt or it is hidden: %d\n", irq);
diff --git a/numa.c b/numa.c
index 402804b..eed8f5d 100644
--- a/numa.c
+++ b/numa.c
@@ -280,7 +280,7 @@ static void validate_numa_cpus(void)
bitmap_and(seen_cpus, seen_cpus,
numa_info[i].node_cpu, MAX_CPUMASK_BITS);
error_report("CPU(s) present in multiple NUMA nodes: %s",
- enumerate_cpus(seen_cpus, max_cpus));;
+ enumerate_cpus(seen_cpus, max_cpus));
exit(EXIT_FAILURE);
}
bitmap_or(seen_cpus, seen_cpus,
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index cbee186..41bdd3f 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -659,7 +659,7 @@ static GuestFilesystemInfo *build_guest_fsinfo(char *guid,
Error **errp)
fs->mountpoint = g_strndup(mnt_point, len);
}
fs->type = g_strdup(fs_name);
- fs->disk = build_guest_disk_info(guid, errp);;
+ fs->disk = build_guest_disk_info(guid, errp);
free:
g_free(mnt_point);
return fs;
--
2.1.4
- [Qemu-trivial] [PULL 09/26] maint: remove unused include for strings.h, (continued)
- [Qemu-trivial] [PULL 09/26] maint: remove unused include for strings.h, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 06/26] maint: remove unused include for assert.h, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 15/26] linux-user: Fix warnings caused by missing 'static' attribute, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 01/26] Update language files for QEMU 2.4.0, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 25/26] hw/arm/spitz: Remove meaningless blank Property, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 17/26] Target-ppc: Remove unnecessary variable, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 10/26] maint: avoid useless "if (foo) free(foo)" pattern, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 05/26] maint: remove / fix many doubled words, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 03/26] i6300esb: fix timer overflow, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 24/26] hw/gpio/zaurus: Remove meaningless blank Property, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 04/26] maint: remove double semicolons in many files,
Michael Tokarev <=
- [Qemu-trivial] [PULL 20/26] qapi-schema: remove legacy<> from doc, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 26/26] virtio-vga: enable for i386, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 21/26] typofixes - v4, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 18/26] help: dd missing newline, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 11/26] maint: avoid useless "if (foo) free(foo)" pattern, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 12/26] trivial: remove trailing newline from error_report, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 07/26] maint: remove unused include for dirent.h, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 23/26] hw/virtio/virtio-pci: Remove meaningless blank Property, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 16/26] baum: Fix build with debugging enabled, Michael Tokarev, 2015/09/11
- [Qemu-trivial] [PULL 02/26] Trivial: fix commandline help message, Michael Tokarev, 2015/09/11