aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nft_dup_netdev.c
diff options
context:
space:
mode:
authorWeongyo Jeong <weongyo.linux@gmail.com>2018-10-17 21:45:17 +0900
committerPablo Neira Ayuso <pablo@netfilter.org>2018-10-19 14:00:33 +0200
commitda8a705ccbe1957c30bc6b6d2160a0fd0bb01c4d (patch)
treecbb63afd4574dad93b01b31b9991b227679e7dc7 /net/netfilter/nft_dup_netdev.c
parentnetfilter: nf_flow_table: remove unnecessary parameter of nf_flow_table_cleanup() (diff)
downloadlinux-dev-da8a705ccbe1957c30bc6b6d2160a0fd0bb01c4d.tar.xz
linux-dev-da8a705ccbe1957c30bc6b6d2160a0fd0bb01c4d.zip
netfilter: remove two unused variables.
nft_dup_netdev_ingress_ops and nft_fwd_netdev_ingress_ops variables are no longer used at the code. Signed-off-by: Weongyo Jeong <weongyo.linux@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_dup_netdev.c')
-rw-r--r--net/netfilter/nft_dup_netdev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/netfilter/nft_dup_netdev.c b/net/netfilter/nft_dup_netdev.c
index 2cc1e0ef56e8..15cc62b293d6 100644
--- a/net/netfilter/nft_dup_netdev.c
+++ b/net/netfilter/nft_dup_netdev.c
@@ -46,8 +46,6 @@ static int nft_dup_netdev_init(const struct nft_ctx *ctx,
return nft_validate_register_load(priv->sreg_dev, sizeof(int));
}
-static const struct nft_expr_ops nft_dup_netdev_ingress_ops;
-
static int nft_dup_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr)
{
struct nft_dup_netdev *priv = nft_expr_priv(expr);