Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934646AbeAKPue (ORCPT + 1 other); Thu, 11 Jan 2018 10:50:34 -0500 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:13935 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932223AbeAKPuc (ORCPT ); Thu, 11 Jan 2018 10:50:32 -0500 X-IronPort-AV: E=Sophos;i="5.46,345,1511827200"; d="scan'208";a="714944026" From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Ingo Molnar , Joe Perches , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Luis de Bethencourt Subject: [PATCH] perf evlist: Remove trailing semicolon Date: Thu, 11 Jan 2018 15:50:20 +0000 Message-Id: <20180111155020.9782-1-luisbg@kernel.org> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything. Signed-off-by: Luis de Bethencourt --- Hi, After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0]. Best regards Luis [0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html [1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html tools/perf/util/evlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index f0a5e09c4071..120efd85f2c8 100644 --- a/tools/perf/util/evlist.c +++ b/tools/perf/util/evlist.c @@ -1760,7 +1760,7 @@ void perf_evlist__toggle_bkw_mmap(struct perf_evlist *evlist, switch (old_state) { case BKW_MMAP_NOTREADY: { if (state != BKW_MMAP_RUNNING) - goto state_err;; + goto state_err; break; } case BKW_MMAP_RUNNING: { -- 2.15.1