Skip to content

Commit

Permalink
netfilter: nf_tables: Fix trailing semicolon
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luis de Bethencourt authored and Pablo Neira Ayuso committed Jan 19, 2018
1 parent d384e65 commit b0c3dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/netfilter/nft_dynset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b0c3dc6

Please sign in to comment.