Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751263AbeAPOv0 (ORCPT + 1 other); Tue, 16 Jan 2018 09:51:26 -0500 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:63211 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750790AbeAPOvY (ORCPT ); Tue, 16 Jan 2018 09:51:24 -0500 X-IronPort-AV: E=Sophos;i="5.46,368,1511827200"; d="scan'208";a="327357732" From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , netdev@vger.kernel.org, Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , "David S . Miller" , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, Luis de Bethencourt Subject: [PATCH] netfilter: nf_tables: Fix trailing semicolon Date: Tue, 16 Jan 2018 14:51:01 +0000 Message-Id: <20180116145101.7190-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 net/netfilter/nft_dynset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/nft_dynset.c b/net/netfilter/nft_dynset.c index ec0fd78231d8..fc83e29d6634 100644 --- a/net/netfilter/nft_dynset.c +++ b/net/netfilter/nft_dynset.c @@ -164,7 +164,7 @@ static int nft_dynset_init(const struct nft_ctx *ctx, } priv->sreg_key = nft_parse_register(tb[NFTA_DYNSET_SREG_KEY]); - err = nft_validate_register_load(priv->sreg_key, set->klen);; + err = nft_validate_register_load(priv->sreg_key, set->klen); if (err < 0) return err; -- 2.15.1