Message ID | 20240704084759.1824420-2-zhao1.liu@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | trivial: Fix superfluous trailing semicolon | expand |
On Thu, 4 Jul 2024 at 09:32, Zhao Liu <zhao1.liu@intel.com> wrote: > > Signed-off-by: Zhao Liu <zhao1.liu@intel.com> > --- > accel/kvm/kvm-all.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c > index 2b4ab896794b..64bf47a03300 100644 > --- a/accel/kvm/kvm-all.c > +++ b/accel/kvm/kvm-all.c > @@ -3878,7 +3878,7 @@ static StatsList *add_kvmstat_entry(struct kvm_stats_desc *pdesc, > /* Alloc and populate data list */ > stats = g_new0(Stats, 1); > stats->name = g_strdup(pdesc->name); > - stats->value = g_new0(StatsValue, 1);; > + stats->value = g_new0(StatsValue, 1); > > if ((pdesc->flags & KVM_STATS_UNIT_MASK) == KVM_STATS_UNIT_BOOLEAN) { > stats->value->u.boolean = *stats_data; Reviewed-by: Peter Maydell <peter.maydell@linaro.org> thanks -- PMM
Zhao Liu <zhao1.liu@intel.com> writes: > Signed-off-by: Zhao Liu <zhao1.liu@intel.com> > --- > accel/kvm/kvm-all.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c > index 2b4ab896794b..64bf47a03300 100644 > --- a/accel/kvm/kvm-all.c > +++ b/accel/kvm/kvm-all.c > @@ -3878,7 +3878,7 @@ static StatsList *add_kvmstat_entry(struct kvm_stats_desc *pdesc, > /* Alloc and populate data list */ > stats = g_new0(Stats, 1); > stats->name = g_strdup(pdesc->name); > - stats->value = g_new0(StatsValue, 1);; > + stats->value = g_new0(StatsValue, 1); > > if ((pdesc->flags & KVM_STATS_UNIT_MASK) == KVM_STATS_UNIT_BOOLEAN) { > stats->value->u.boolean = *stats_data; Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c index 2b4ab896794b..64bf47a03300 100644 --- a/accel/kvm/kvm-all.c +++ b/accel/kvm/kvm-all.c @@ -3878,7 +3878,7 @@ static StatsList *add_kvmstat_entry(struct kvm_stats_desc *pdesc, /* Alloc and populate data list */ stats = g_new0(Stats, 1); stats->name = g_strdup(pdesc->name); - stats->value = g_new0(StatsValue, 1);; + stats->value = g_new0(StatsValue, 1); if ((pdesc->flags & KVM_STATS_UNIT_MASK) == KVM_STATS_UNIT_BOOLEAN) { stats->value->u.boolean = *stats_data;
Signed-off-by: Zhao Liu <zhao1.liu@intel.com> --- accel/kvm/kvm-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)