Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/cd08f891138f
branches:  trunk
changeset: 790623:cd08f891138f
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 18 19:48:36 2013 +0000

description:
remove unused variable

diffstat:

 sys/netinet/ip_carp.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r f78d6686b42c -r cd08f891138f sys/netinet/ip_carp.c
--- a/sys/netinet/ip_carp.c     Fri Oct 18 19:45:40 2013 +0000
+++ b/sys/netinet/ip_carp.c     Fri Oct 18 19:48:36 2013 +0000
@@ -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 @@
        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);



Home | Main Index | Thread Index | Old Index