Commit da8a705c authored by Weongyo Jeong's avatar Weongyo Jeong Committed by Pablo Neira Ayuso

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: default avatarWeongyo Jeong <weongyo.linux@gmail.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 5f1be84a
...@@ -46,8 +46,6 @@ static int nft_dup_netdev_init(const struct nft_ctx *ctx, ...@@ -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)); 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) static int nft_dup_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr)
{ {
struct nft_dup_netdev *priv = nft_expr_priv(expr); struct nft_dup_netdev *priv = nft_expr_priv(expr);
......
...@@ -53,8 +53,6 @@ static int nft_fwd_netdev_init(const struct nft_ctx *ctx, ...@@ -53,8 +53,6 @@ static int nft_fwd_netdev_init(const struct nft_ctx *ctx,
return nft_validate_register_load(priv->sreg_dev, sizeof(int)); return nft_validate_register_load(priv->sreg_dev, sizeof(int));
} }
static const struct nft_expr_ops nft_fwd_netdev_ingress_ops;
static int nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) static int nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr)
{ {
struct nft_fwd_netdev *priv = nft_expr_priv(expr); struct nft_fwd_netdev *priv = nft_expr_priv(expr);
...@@ -169,8 +167,6 @@ static int nft_fwd_neigh_init(const struct nft_ctx *ctx, ...@@ -169,8 +167,6 @@ static int nft_fwd_neigh_init(const struct nft_ctx *ctx,
return nft_validate_register_load(priv->sreg_addr, addr_len); return nft_validate_register_load(priv->sreg_addr, addr_len);
} }
static const struct nft_expr_ops nft_fwd_netdev_ingress_ops;
static int nft_fwd_neigh_dump(struct sk_buff *skb, const struct nft_expr *expr) static int nft_fwd_neigh_dump(struct sk_buff *skb, const struct nft_expr *expr)
{ {
struct nft_fwd_neigh *priv = nft_expr_priv(expr); struct nft_fwd_neigh *priv = nft_expr_priv(expr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment