summaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-06-29 13:55:08 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-06-29 13:55:08 +0200
commit5cbfda2043814f4989efad12be02086a2e4c59fd (patch)
treeee311e7d216a8f24dc4bca3b158c41c175619102 /net/netfilter
parentca1aa54f272d47bec77baa292f803df7a81f966b (diff)
downloadlinux-stable-5cbfda2043814f4989efad12be02086a2e4c59fd.tar.gz
linux-stable-5cbfda2043814f4989efad12be02086a2e4c59fd.tar.bz2
linux-stable-5cbfda2043814f4989efad12be02086a2e4c59fd.zip
netfilter: nft_log: fix coccinelle warnings
net/netfilter/nft_log.c:79:44-45: Unneeded semicolon Removes unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/nft_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nft_log.c b/net/netfilter/nft_log.c
index 5b1a4f5c3dcc..bde05f28cf14 100644
--- a/net/netfilter/nft_log.c
+++ b/net/netfilter/nft_log.c
@@ -76,7 +76,7 @@ static int nft_log_init(const struct nft_ctx *ctx,
case NF_LOG_TYPE_LOG:
if (tb[NFTA_LOG_LEVEL] != NULL) {
li->u.log.level =
- ntohl(nla_get_be32(tb[NFTA_LOG_LEVEL]));;
+ ntohl(nla_get_be32(tb[NFTA_LOG_LEVEL]));
} else {
li->u.log.level = 4;
}