Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp271234rdb; Tue, 19 Dec 2023 16:51:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGjXac8HnDA6pUwJvSP0fyn0SLxKuiFZSlhzZpGeVHapGkV//cJnXNieHdbnx/AmXi4e80 X-Received: by 2002:a05:6359:a2a:b0:172:f491:7b60 with SMTP id el42-20020a0563590a2a00b00172f4917b60mr1564510rwb.50.1703033519005; Tue, 19 Dec 2023 16:51:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703033518; cv=none; d=google.com; s=arc-20160816; b=hUgemXF/koE2Ii24qXQ5Hso/XfXn+tvwVmmWhtvOuzwrYbRF57m6vwjX4n5cC9/et3 sApP8z5rp/FVshwM1Xa1LyWVj0V9eg5LHfI4i11GN6D8q+r8V8RWQtRoXqdgAiAKfNMl Mgzb8VofAfVa/SjZBS9g7UF9K3tIZ8+U26FHB08dlfdb0efKu2gUV5zADN4CUbhn9LeQ I725oB3FhyQ61veqwVrwyNnFAl4VfQz6H4lNN5Cvi21MW1LJjoi6720IOaLZI+fpsutn a+AmNEMKU8TYLuF7iNtux+UnilCqJ7OLbosUyhMLnRp1cxoQNXjK2OsLrzwc3n59d7pF 9oyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=HWTMyPWHDnUVVppusXg+YH8WotVEr/VzZuqLxfQsSNs=; fh=O7pXc8LZ6simzH1lZZlNQKDNTCg4Rl7qQXiEo8bjpEo=; b=xGXTkD5wOeYfC5uKtIO8heQjouKGzBrx8/SAED3fFmKGk8F/glxi2ResG+Q9Z7kliC ylSThY/Y3L4BDvStAz/ehKswtEtF/y+dKKSLqgYQWvNb0nCizKNFPR5iQei+F96F7Dma mLuNU87yHVl3Hqw276F9Ewo/99biqXHEBAWzAM//1L9BMtYSt/kPzcOqmIYrBA8e4XUT N2prZBWsqCtWUNjV9NvzH3FhC1t8HMzWnkguf1bkB9Re4WIq9VOoBqUNTrxXFVqj8ZBs K9sPZFK1XrD2Nz/fry+FZu4a9Kt0Z0Do+yR27Sh11/p3dBJpBklYOfHobgKIjh0T3oph pt7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s1-20020a17090a6e4100b0028bc0b71b0asi1401422pjm.93.2023.12.19.16.51.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 16:51:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A6E0A283A21 for ; Wed, 20 Dec 2023 00:51:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0598323BB; Wed, 20 Dec 2023 00:51:53 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from out30-118.freemail.mail.aliyun.com (out30-118.freemail.mail.aliyun.com [115.124.30.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6BE6B6133; Wed, 20 Dec 2023 00:51:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R551e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VysB-8d_1703033504; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VysB-8d_1703033504) by smtp.aliyun-inc.com; Wed, 20 Dec 2023 08:51:45 +0800 From: Yang Li To: fabrice.gasnier@foss.st.com, william.gray@linaro.org Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] tools/counter: Remove unneeded semicolon Date: Wed, 20 Dec 2023 08:51:43 +0800 Message-Id: <20231220005143.84987-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit ./tools/counter/counter_watch_events.c:233:3-4: Unneeded semicolon ./tools/counter/counter_watch_events.c:234:2-3: Unneeded semicolon ./tools/counter/counter_watch_events.c:333:2-3: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7782 Signed-off-by: Yang Li --- tools/counter/counter_watch_events.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/counter/counter_watch_events.c b/tools/counter/counter_watch_events.c index 3898fe7e35ec..2ce4c99ebd01 100644 --- a/tools/counter/counter_watch_events.c +++ b/tools/counter/counter_watch_events.c @@ -230,8 +230,8 @@ int main(int argc, char **argv) break; default: return EXIT_FAILURE; - }; - }; + } + } if (nwatch) { watches = calloc(nwatch, sizeof(*watches)); @@ -330,7 +330,7 @@ int main(int argc, char **argv) i++; break; } - }; + } if (debug) print_watch(watches, nwatch); -- 2.20.1.7.g153144c