netfilter: nf_tables: Fix trailing semicolon
authorLuis de Bethencourt <luisbg@kernel.org>
Tue, 16 Jan 2018 14:51:01 +0000 (14:51 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 19 Jan 2018 13:10:04 +0000 (14:10 +0100)
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>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_dynset.c

index ec0fd78231d87444edf2b1c3652e91d71c0de8c2..fc83e29d6634eab5ec65e22808f5d13cc615a058 100644 (file)
@@ -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;