Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1576738pxb; Mon, 8 Mar 2021 00:36:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxkHxZgc74E+cveKstoZoTkzrmvqZlewQ5jAvd1/BcFzreaxLheCm8ZLQIr4f0GdYjHS9Zh X-Received: by 2002:aa7:dc56:: with SMTP id g22mr21098265edu.219.1615192575190; Mon, 08 Mar 2021 00:36:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615192575; cv=none; d=google.com; s=arc-20160816; b=v8caCrK06O8hHsMzkrd17Y7agNidWFZRFW6bXPWVzwqq1KbzM0qK6Kg2qSRC7qBy3e Cqhm/P4+sD/v/49CxN+R+WOhOnmcyoPONN1ro6jxqVOs5UuZYp/pmAjyGLtQAm3PPGXA 8aoONiQsPBiP2KEWaSWMdaEQITiVYPC6P1YIhK5B1ktjd2Hg6Xf1WbIlCa/io9trKP1E uijqLP96AwnFIiJ0DIGVCqRPwaGNDIpJKQaQzIo5DUI4WbK+j21PAHhwqnbihPJrPyeN b7gAHUrYm3oOSX+vfsMxbXwvbtHItseE4OsvbvHMjonko21pZiiWY69kTarQq+kW2wgC CsLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=3hSQx1o2LmKziQdBxu7/DOFHxI60TeCAKjoXBNZ5j9k=; b=O4hdQH8P1EJYIafWL1B3389MOz0/FSE1B/qHXcUTBBaTDBYtDgbPOuSXS7qqRlPrZo D744B985DJPsVE8jDIZqOsEe+CFddcJZyEn7zo00iO8PPsb3B6tG88IwYhWIezjulwPi JiiUwBUvI5w4XqRntE5LNMwreub0EZW648OYOV/3l8yphDVqkXDCCVFmrFTVADOVMtgC CVa2ADu1zrh3T/ujRMkzDoy+DnPLnHbGQ3/oTrDWVNCFkOoX0I1m5aNK2r7tb7d8FpXD 6BMg/BbSHIiiAk075BliLNeiLDCo8qpSQTgl3QgYJPd266M6cIe7MUTafQ09IiZX0bsg LkWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x24si5817380ejs.293.2021.03.08.00.35.52; Mon, 08 Mar 2021 00:36:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232307AbhCHCZp (ORCPT + 99 others); Sun, 7 Mar 2021 21:25:45 -0500 Received: from smtp23.cstnet.cn ([159.226.251.23]:46056 "EHLO cstnet.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230046AbhCHCZ2 (ORCPT ); Sun, 7 Mar 2021 21:25:28 -0500 Received: from localhost.localdomain (unknown [124.16.141.241]) by APP-03 (Coremail) with SMTP id rQCowAD3_0f+ikVgNHPHAQ--.53308S2; Mon, 08 Mar 2021 10:25:03 +0800 (CST) From: Xu Wang To: rostedt@goodmis.org, Viktor.Rosendahl@bmw.de, colin.king@canonical.com Cc: linux-kernel@vger.kernel.org Subject: [PATCH v2] tracing/tools: Remove unneeded semicolon Date: Mon, 8 Mar 2021 02:24:59 +0000 Message-Id: <20210308022459.59881-1-vulab@iscas.ac.cn> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: rQCowAD3_0f+ikVgNHPHAQ--.53308S2 X-Coremail-Antispam: 1UD129KBjvdXoWrtF4UGFW5tF43AF45tw17Awb_yoWDtwbEkw 13ta17tF98Krnakrs7tF43Xry8uw17XFs7GanrtFZrXryrX3s8JFyYv3yDur47urZFv3Wa k3ZxC3WIkr17ujkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbw8YjsxI4VWkKwAYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM2 8CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0 cI8IcVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I 8E87Iv6xkF7I0E14v26F4UJVW0owAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC 0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr 1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28IcxkI7VAKI48JMxC2 0s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI 0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE 14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20x vaj40_WFyUJVCq3wCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v2 6r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07bOoGdUUUUU= X-Originating-IP: [124.16.141.241] X-CM-SenderInfo: pyxotu46lvutnvoduhdfq/1tbiCQcOA102Z+9G-wAAsZ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix semicolon.cocci warning: tools/tracing/latency/latency-collector.c:1021:2-3: Unneeded semicolon Signed-off-by: Xu Wang --- Changes since v2: - Fix another instance of superfluous semicolon. --- tools/tracing/latency/latency-collector.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tracing/latency/latency-collector.c b/tools/tracing/latency/latency-collector.c index b69de9263ee6..3a2e6bb781a8 100644 --- a/tools/tracing/latency/latency-collector.c +++ b/tools/tracing/latency/latency-collector.c @@ -1018,7 +1018,7 @@ static long go_to_sleep(const struct entry *req) cond_timedwait(&printstate.cond, &printstate.mutex, &future); if (time_has_passed(&future)) break; - }; + } if (printstate_has_new_req_arrived(req)) delay = -1; @@ -1941,7 +1941,7 @@ static void scan_arguments(int argc, char *argv[]) if (value < 0) { warnx("TIME must be >= 0\n"); show_usage(); - ; + exit(0); } trace_enable = true; use_random_sleep = true; -- 2.17.1