Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Get rid of unnecessary assignment
details: https://anonhg.NetBSD.org/src/rev/b23b18c8132a
branches: trunk
changeset: 345293:b23b18c8132a
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue May 17 09:00:24 2016 +0000
description:
Get rid of unnecessary assignment
diffstat:
sys/netinet/if_arp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 55cff25e4ba6 -r b23b18c8132a sys/netinet/if_arp.c
--- a/sys/netinet/if_arp.c Tue May 17 08:27:24 2016 +0000
+++ b/sys/netinet/if_arp.c Tue May 17 09:00:24 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_arp.c,v 1.209 2016/04/25 14:38:08 ozaki-r Exp $ */
+/* $NetBSD: if_arp.c,v 1.210 2016/05/17 09:00:24 ozaki-r Exp $ */
/*-
* Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.209 2016/04/25 14:38:08 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.210 2016/05/17 09:00:24 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -598,7 +598,7 @@
rt->rt_expire = 0;
if (useloopback) {
- ifp = rt->rt_ifp = lo0ifp;
+ rt->rt_ifp = lo0ifp;
rt->rt_rmx.rmx_mtu = 0;
}
rt->rt_flags |= RTF_LOCAL;
Home |
Main Index |
Thread Index |
Old Index