From nobody Thu May 2 05:01:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1508251334528398.5457738100739; Tue, 17 Oct 2017 07:42:14 -0700 (PDT) Received: from localhost ([::1]:39884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4T4I-0002ZA-O9 for importer@patchew.org; Tue, 17 Oct 2017 10:42:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4T3B-00021h-Jq for qemu-devel@nongnu.org; Tue, 17 Oct 2017 10:40:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4T39-0006mE-DQ for qemu-devel@nongnu.org; Tue, 17 Oct 2017 10:40:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43570) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e4T39-0006l9-4u; Tue, 17 Oct 2017 10:40:55 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 97FF081E03; Tue, 17 Oct 2017 14:40:53 +0000 (UTC) Received: from dhcp-1-107.brq.redhat.com (unknown [10.43.2.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id BBE0777FFA; Tue, 17 Oct 2017 14:40:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 97FF081E03 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=lprosek@redhat.com From: Ladi Prosek To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org Date: Tue, 17 Oct 2017 16:40:51 +0200 Message-Id: <20171017144051.8452-1-lprosek@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Tue, 17 Oct 2017 14:40:53 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH trivial] Remove empty statements X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lersek@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Thanks to Laszlo Ersek for spotting the double semicolon in target/i386/kvm= .c I have trivially grepped the tree for ';;' in C files. Suggested-by: Laszlo Ersek Signed-off-by: Ladi Prosek Reviewed-by: Cornelia Huck Reviewed-by: Laszlo Ersek Reviewed-by: Laurent Vivier --- hw/misc/imx6_ccm.c | 2 +- hw/s390x/virtio-ccw.c | 2 +- linux-user/signal.c | 2 +- migration/block.c | 2 +- target/i386/cpu.c | 2 +- target/i386/kvm.c | 2 +- target/sh4/translate.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hw/misc/imx6_ccm.c b/hw/misc/imx6_ccm.c index 1b421013a3..4fa94835fe 100644 --- a/hw/misc/imx6_ccm.c +++ b/hw/misc/imx6_ccm.c @@ -335,7 +335,7 @@ static uint64_t imx6_ccm_get_ipg_clk(IMX6CCMState *dev) uint64_t freq =3D 0; =20 freq =3D imx6_ccm_get_ahb_clk(dev) - / (1 + EXTRACT(dev->ccm[CCM_CBCDR], IPG_PODF));; + / (1 + EXTRACT(dev->ccm[CCM_CBCDR], IPG_PODF)); =20 DPRINTF("freq =3D %d\n", (uint32_t)freq); =20 diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index 085f17f871..429f10bc90 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -486,7 +486,7 @@ static int virtio_ccw_cb(SubchDev *sch, CCW1 ccw) } else { address_space_stb(&address_space_memory, ccw.cda, vdev->status, MEMTXATTRS_UNSPECIFIED, NULL); - sch->curr_status.scsw.count =3D ccw.count - sizeof(vdev->statu= s);; + sch->curr_status.scsw.count =3D ccw.count - sizeof(vdev->statu= s); ret =3D 0; } break; diff --git a/linux-user/signal.c b/linux-user/signal.c index cc0c3fcee9..09055e8920 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -6487,7 +6487,7 @@ static void setup_rt_frame(int sig, struct target_sig= action *ka, haddr =3D dest; } env->iaoq_f =3D haddr; - env->iaoq_b =3D haddr + 4;; + env->iaoq_b =3D haddr + 4; return; =20 give_sigsegv: diff --git a/migration/block.c b/migration/block.c index 3282809583..565625b9b2 100644 --- a/migration/block.c +++ b/migration/block.c @@ -896,7 +896,7 @@ static int block_load(QEMUFile *f, void *opaque, int ve= rsion_id) int len, flags; char device_name[256]; int64_t addr; - BlockBackend *blk, *blk_prev =3D NULL;; + BlockBackend *blk, *blk_prev =3D NULL; Error *local_err =3D NULL; uint8_t *buf; int64_t total_sectors =3D 0; diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 98732cd65f..d44b0ed56c 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -2218,7 +2218,7 @@ static void x86_cpu_class_check_missing_features(X86C= PUClass *xcc, =20 if (xcc->kvm_required && !kvm_enabled()) { strList *new =3D g_new0(strList, 1); - new->value =3D g_strdup("kvm");; + new->value =3D g_strdup("kvm"); *missing_feats =3D new; return; } diff --git a/target/i386/kvm.c b/target/i386/kvm.c index b1e32e95d3..d4b2ce2e94 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -1122,7 +1122,7 @@ static int kvm_get_supported_msrs(KVMState *s) break; case MSR_IA32_XSS: has_msr_xss =3D true; - break;; + break; case HV_X64_MSR_CRASH_CTL: has_msr_hv_crash =3D true; break; diff --git a/target/sh4/translate.c b/target/sh4/translate.c index 8db9fba26e..2b00cd2f35 100644 --- a/target/sh4/translate.c +++ b/target/sh4/translate.c @@ -679,7 +679,7 @@ static void _decode_opc(DisasContext * ctx) return; case 0x6008: /* swap.b Rm,Rn */ { - TCGv low =3D tcg_temp_new();; + TCGv low =3D tcg_temp_new(); tcg_gen_ext16u_i32(low, REG(B7_4)); tcg_gen_bswap16_i32(low, low); tcg_gen_deposit_i32(REG(B11_8), REG(B7_4), low, 0, 16); --=20 2.13.5