diff mbox

[nft] evaluate: clean up unused variables (pctx)

Message ID 1421056437-9641-1-git-send-email-alvaroneay@gmail.com
State Accepted
Delegated to: Pablo Neira
Headers show

Commit Message

Alvaro Neira Jan. 12, 2015, 9:53 a.m. UTC
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com>
---
 src/evaluate.c |    3 ---
 1 file changed, 3 deletions(-)

Comments

Patrick McHardy Jan. 12, 2015, 10:03 a.m. UTC | #1
On 12.01, Alvaro Neira Ayuso wrote:
> Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com>
> ---
>  src/evaluate.c |    3 ---
>  1 file changed, 3 deletions(-)

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/src/evaluate.c b/src/evaluate.c
index 53f3cf0..d24d4cc 100644
--- a/src/evaluate.c
+++ b/src/evaluate.c
@@ -1563,7 +1563,6 @@  static int nat_evaluate_transport(struct eval_ctx *ctx, struct stmt *stmt,
 
 static int stmt_evaluate_nat(struct eval_ctx *ctx, struct stmt *stmt)
 {
-	struct proto_ctx *pctx = &ctx->pctx;
 	int err;
 
 	err = nat_evaluate_family(ctx, stmt);
@@ -1587,7 +1586,6 @@  static int stmt_evaluate_nat(struct eval_ctx *ctx, struct stmt *stmt)
 
 static int stmt_evaluate_masq(struct eval_ctx *ctx, struct stmt *stmt)
 {
-	struct proto_ctx *pctx = &ctx->pctx;
 	int err;
 
 	err = nat_evaluate_family(ctx, stmt);
@@ -1600,7 +1598,6 @@  static int stmt_evaluate_masq(struct eval_ctx *ctx, struct stmt *stmt)
 
 static int stmt_evaluate_redir(struct eval_ctx *ctx, struct stmt *stmt)
 {
-	struct proto_ctx *pctx = &ctx->pctx;
 	int err;
 
 	err = nat_evaluate_family(ctx, stmt);