Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751489AbeAPOPs (ORCPT + 1 other); Tue, 16 Jan 2018 09:15:48 -0500 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:38192 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751224AbeAPOPq (ORCPT ); Tue, 16 Jan 2018 09:15:46 -0500 X-IronPort-AV: E=Sophos;i="5.46,368,1511827200"; d="scan'208";a="327350026" From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , Alexei Starovoitov , Daniel Borkmann , netdev@vger.kernel.org, Luis de Bethencourt Subject: [PATCH] samples/bpf: Fix trailing semicolon Date: Tue, 16 Jan 2018 14:15:30 +0000 Message-Id: <20180116141530.28950-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 samples/bpf/xdp_monitor_kern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/bpf/xdp_monitor_kern.c b/samples/bpf/xdp_monitor_kern.c index 2fe2f761a0d0..c969141bfa8b 100644 --- a/samples/bpf/xdp_monitor_kern.c +++ b/samples/bpf/xdp_monitor_kern.c @@ -104,7 +104,7 @@ struct xdp_exception_ctx { SEC("tracepoint/xdp/xdp_exception") int trace_xdp_exception(struct xdp_exception_ctx *ctx) { - u64 *cnt;; + u64 *cnt; u32 key; key = ctx->act; -- 2.15.1