Module Name: src
Committed By: dyoung
Date: Fri Sep 11 20:10:06 UTC 2009
Modified Files:
src/sys/netinet6: in6_proto.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/netinet6/in6_proto.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/netinet6/in6_proto.c
diff -u src/sys/netinet6/in6_proto.c:1.85 src/sys/netinet6/in6_proto.c:1.86
--- src/sys/netinet6/in6_proto.c:1.85 Fri Aug 21 16:52:43 2009
+++ src/sys/netinet6/in6_proto.c Fri Sep 11 20:10:06 2009
@@ -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