Module Name: src
Committed By: martin
Date: Sat Sep 14 21:08:35 UTC 2013
Modified Files:
src/sys/netinet6: nd6_rtr.c
Log Message:
Remove unused variable
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/netinet6/nd6_rtr.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/nd6_rtr.c
diff -u src/sys/netinet6/nd6_rtr.c:1.89 src/sys/netinet6/nd6_rtr.c:1.90
--- src/sys/netinet6/nd6_rtr.c:1.89 Thu Jun 20 13:56:29 2013
+++ src/sys/netinet6/nd6_rtr.c Sat Sep 14 21:08:35 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6_rtr.c,v 1.89 2013/06/20 13:56:29 roy Exp $ */
+/* $NetBSD: nd6_rtr.c,v 1.90 2013/09/14 21:08:35 martin Exp $ */
/* $KAME: nd6_rtr.c,v 1.95 2001/02/07 08:09:47 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6_rtr.c,v 1.89 2013/06/20 13:56:29 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6_rtr.c,v 1.90 2013/09/14 21:08:35 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1064,7 +1064,6 @@ prelist_update(struct nd_prefixctl *new,
struct nd_prefix *pr;
int s = splsoftnet();
int error = 0;
- int newprefix = 0;
int auth;
struct in6_addrlifetime lt6_tmp;
@@ -1122,8 +1121,6 @@ prelist_update(struct nd_prefixctl *new,
} else {
struct nd_prefix *newpr = NULL;
- newprefix = 1;
-
if (new->ndpr_vltime == 0)
goto end;
if (new->ndpr_raf_onlink == 0 && new->ndpr_raf_auto == 0)