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/e989fea3bf86
branches:  trunk
changeset: 348241:e989fea3bf86
user:      roy <roy%NetBSD.org@localhost>
date:      Tue Oct 11 13:39:34 2016 +0000

description:
Remove unused variable.

diffstat:

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

diffs (26 lines):

diff -r e6dfa1509c91 -r e989fea3bf86 sys/netinet/ip_carp.c
--- a/sys/netinet/ip_carp.c     Tue Oct 11 13:04:57 2016 +0000
+++ b/sys/netinet/ip_carp.c     Tue Oct 11 13:39:34 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_carp.c,v 1.78 2016/10/11 12:32:30 roy Exp $ */
+/*     $NetBSD: ip_carp.c,v 1.79 2016/10/11 13:39:34 roy Exp $ */
 /*     $OpenBSD: ip_carp.c,v 1.113 2005/11/04 08:11:54 mcbride Exp $   */
 
 /*
@@ -33,7 +33,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v 1.78 2016/10/11 12:32:30 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v 1.79 2016/10/11 13:39:34 roy Exp $");
 
 /*
  * TODO:
@@ -1221,7 +1221,6 @@
 carp_send_arp(struct carp_softc *sc)
 {
        struct ifaddr *ifa;
-       struct in_addr *in;
        int s;
 
        KERNEL_LOCK(1, NULL);



Home | Main Index | Thread Index | Old Index