* [PATCH] netfilter: nf_tables: Fix trailing semicolon
@ 2018-01-16 14:51 Luis de Bethencourt
2018-01-19 13:10 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Luis de Bethencourt @ 2018-01-16 14:51 UTC (permalink / raw)
To: linux-kernel
Cc: Joe Perches, netdev, Pablo Neira Ayuso, Jozsef Kadlecsik,
Florian Westphal, David S . Miller, netfilter-devel, coreteam,
Luis de Bethencourt
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 <luisbg@kernel.org>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] netfilter: nf_tables: Fix trailing semicolon
2018-01-16 14:51 [PATCH] netfilter: nf_tables: Fix trailing semicolon Luis de Bethencourt
@ 2018-01-19 13:10 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2018-01-19 13:10 UTC (permalink / raw)
To: Luis de Bethencourt
Cc: linux-kernel, Joe Perches, netdev, Jozsef Kadlecsik,
Florian Westphal, David S . Miller, netfilter-devel, coreteam
On Tue, Jan 16, 2018 at 02:51:01PM +0000, Luis de Bethencourt wrote:
> The trailing semicolon is an empty statement that does no operation.
> Removing it since it doesn't do anything.
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-19 13:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-16 14:51 [PATCH] netfilter: nf_tables: Fix trailing semicolon Luis de Bethencourt
2018-01-19 13:10 ` Pablo Neira Ayuso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.