summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nft_log.c
diff options
context:
space:
mode:
authorFengguang Wu2014-06-29 13:55:08 +0200
committerPablo Neira Ayuso2014-06-29 13:55:08 +0200
commit5cbfda2043814f4989efad12be02086a2e4c59fd (patch)
treeee311e7d216a8f24dc4bca3b158c41c175619102 /net/netfilter/nft_log.c
parentnetfilter: xt_LOG: add missing string format in nf_log_packet() (diff)
downloadkernel-qcow2-linux-5cbfda2043814f4989efad12be02086a2e4c59fd.tar.gz
kernel-qcow2-linux-5cbfda2043814f4989efad12be02086a2e4c59fd.tar.xz
kernel-qcow2-linux-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/nft_log.c')
-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;
}