Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Get rid of unnecessary assignment
details: https://anonhg.NetBSD.org/src/rev/571c0d785786
branches: trunk
changeset: 345315:571c0d785786
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed May 18 11:28:44 2016 +0000
description:
Get rid of unnecessary assignment
diffstat:
sys/netinet6/nd6.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fe18c357949d -r 571c0d785786 sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c Wed May 18 09:32:05 2016 +0000
+++ b/sys/netinet6/nd6.c Wed May 18 11:28:44 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6.c,v 1.194 2016/05/12 02:24:17 ozaki-r Exp $ */
+/* $NetBSD: nd6.c,v 1.195 2016/05/18 11:28:44 ozaki-r Exp $ */
/* $KAME: nd6.c,v 1.279 2002/06/08 11:16:51 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.194 2016/05/12 02:24:17 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.195 2016/05/18 11:28:44 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -1457,7 +1457,7 @@
&satocsin6(rt_getkey(rt))->sin6_addr);
if (ifa != NULL) {
if (nd6_useloopback) {
- ifp = rt->rt_ifp = lo0ifp; /* XXX */
+ rt->rt_ifp = lo0ifp; /* XXX */
/*
* Make sure rt_ifa be equal to the ifaddr
* corresponding to the address.
Home |
Main Index |
Thread Index |
Old Index