Module Name: src
Committed By: martin
Date: Sat Sep 14 12:06:19 UTC 2013
Modified Files:
src/sys/external/bsd/ipf/netinet: ip_rcmd_pxy.c
Log Message:
Remove unused variables
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/ipf/netinet/ip_rcmd_pxy.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/ipf/netinet/ip_rcmd_pxy.c
diff -u src/sys/external/bsd/ipf/netinet/ip_rcmd_pxy.c:1.4 src/sys/external/bsd/ipf/netinet/ip_rcmd_pxy.c:1.5
--- src/sys/external/bsd/ipf/netinet/ip_rcmd_pxy.c:1.4 Mon Jul 30 19:27:47 2012
+++ src/sys/external/bsd/ipf/netinet/ip_rcmd_pxy.c Sat Sep 14 12:06:19 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_rcmd_pxy.c,v 1.4 2012/07/30 19:27:47 pgoyette Exp $ */
+/* $NetBSD: ip_rcmd_pxy.c,v 1.5 2013/09/14 12:06:19 martin Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -12,7 +12,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: ip_rcmd_pxy.c,v 1.4 2012/07/30 19:27:47 pgoyette Exp $");
+__KERNEL_RCSID(1, "$NetBSD: ip_rcmd_pxy.c,v 1.5 2013/09/14 12:06:19 martin Exp $");
#define IPF_RCMD_PROXY
@@ -72,13 +72,9 @@ ipf_p_rcmd_new(void *arg, fr_info_t *fin
tcphdr_t *tcp = (tcphdr_t *)fin->fin_dp;
rcmdinfo_t *rc;
ipnat_t *ipn;
- ipnat_t *np;
- int size;
fin = fin; /* LINT */
- np = nat->nat_ptr;
- size = np->in_size;
KMALLOC(rc, rcmdinfo_t *);
if (rc == NULL) {
printf("ipf_p_rcmd_new:KMALLOCS(%zu) failed\n", sizeof(*rc));