Module Name: src Committed By: ozaki-r Date: Wed May 18 11:28:44 UTC 2016
Modified Files: src/sys/netinet6: nd6.c Log Message: Get rid of unnecessary assignment To generate a diff of this commit: cvs rdiff -u -r1.194 -r1.195 src/sys/netinet6/nd6.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.c diff -u src/sys/netinet6/nd6.c:1.194 src/sys/netinet6/nd6.c:1.195 --- src/sys/netinet6/nd6.c:1.194 Thu May 12 02:24:17 2016 +++ src/sys/netinet6/nd6.c Wed May 18 11:28:44 2016 @@ -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 @@ nd6_rtrequest(int req, struct rtentry *r &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.