Module Name: src
Committed By: christos
Date: Fri Oct 18 19:48:36 UTC 2013
Modified Files:
src/sys/netinet: ip_carp.c
Log Message:
remove unused variable
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/netinet/ip_carp.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/netinet/ip_carp.c
diff -u src/sys/netinet/ip_carp.c:1.50 src/sys/netinet/ip_carp.c:1.51
--- src/sys/netinet/ip_carp.c:1.50 Mon Aug 20 12:01:37 2012
+++ src/sys/netinet/ip_carp.c Fri Oct 18 15:48:36 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_carp.c,v 1.50 2012/08/20 16:01:37 christos Exp $ */
+/* $NetBSD: ip_carp.c,v 1.51 2013/10/18 19:48:36 christos Exp $ */
/* $OpenBSD: ip_carp.c,v 1.113 2005/11/04 08:11:54 mcbride Exp $ */
/*
@@ -30,7 +30,7 @@
#include "opt_inet.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v 1.50 2012/08/20 16:01:37 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v 1.51 2013/10/18 19:48:36 christos Exp $");
/*
* TODO:
@@ -457,11 +457,10 @@ carp_proto_input(struct mbuf *m, ...)
struct ip *ip = mtod(m, struct ip *);
struct carp_softc *sc = NULL;
struct carp_header *ch;
- int iplen, len, hlen;
+ int iplen, len;
va_list ap;
va_start(ap, m);
- hlen = va_arg(ap, int);
va_end(ap);
CARP_STATINC(CARP_STAT_IPACKETS);