Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Nothing uses sockaddr_in6_cmp() right now, and ...
details: https://anonhg.NetBSD.org/src/rev/5bd13cca6e01
branches: trunk
changeset: 747342:5bd13cca6e01
user: dyoung <dyoung%NetBSD.org@localhost>
date: Fri Sep 11 20:10:06 2009 +0000
description:
Nothing uses sockaddr_in6_cmp() right now, and the generic
sockaddr_cmp() is probably as fast or faster than calling
sockaddr_in6_cmp() through a function pointer, so let's stop
compiling it.
diffstat:
sys/netinet6/in6_proto.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 29ba697f4736 -r 5bd13cca6e01 sys/netinet6/in6_proto.c
--- a/sys/netinet6/in6_proto.c Fri Sep 11 19:48:52 2009 +0000
+++ b/sys/netinet6/in6_proto.c Fri Sep 11 20:10:06 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6_proto.c,v 1.85 2009/08/21 16:52:43 tsutsui Exp $ */
+/* $NetBSD: in6_proto.c,v 1.86 2009/09/11 20:10:06 dyoung Exp $ */
/* $KAME: in6_proto.c,v 1.66 2000/10/10 15:35:47 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6_proto.c,v 1.85 2009/08/21 16:52:43 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_proto.c,v 1.86 2009/09/11 20:10:06 dyoung Exp $");
#include "opt_inet.h"
#include "opt_ipsec.h"
@@ -424,6 +424,7 @@
.dom_rtcache = LIST_HEAD_INITIALIZER(inet6domain.dom_rtcache)
};
+#if 0
int
sockaddr_in6_cmp(const struct sockaddr *lsa, const struct sockaddr *rsa)
{
@@ -445,6 +446,7 @@
return lsin6->sin6_len - rsin6->sin6_len;
}
+#endif
/*
* Internet configuration info
Home |
Main Index |
Thread Index |
Old Index