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 ifdef for IFT_IEEE80211
details: https://anonhg.NetBSD.org/src/rev/29761c3b6b48
branches: trunk
changeset: 358622:29761c3b6b48
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed Jan 10 07:34:31 2018 +0000
description:
Get rid of unnecessary ifdef for IFT_IEEE80211
diffstat:
sys/netinet6/nd6_nbr.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 9f263aa22136 -r 29761c3b6b48 sys/netinet6/nd6_nbr.c
--- a/sys/netinet6/nd6_nbr.c Wed Jan 10 07:11:38 2018 +0000
+++ b/sys/netinet6/nd6_nbr.c Wed Jan 10 07:34:31 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6_nbr.c,v 1.141 2018/01/10 07:11:38 ozaki-r Exp $ */
+/* $NetBSD: nd6_nbr.c,v 1.142 2018/01/10 07:34:31 ozaki-r Exp $ */
/* $KAME: nd6_nbr.c,v 1.61 2001/02/10 16:06:14 jinmei Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6_nbr.c,v 1.141 2018/01/10 07:11:38 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6_nbr.c,v 1.142 2018/01/10 07:34:31 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1383,9 +1383,7 @@
case IFT_FDDI:
case IFT_ATM:
case IFT_IEEE1394:
-#ifdef IFT_IEEE80211
case IFT_IEEE80211:
-#endif
in6 = ia->ia_addr.sin6_addr;
if (in6_get_hw_ifid(ifp, &in6) == 0 &&
IN6_ARE_ADDR_EQUAL(&ia->ia_addr.sin6_addr, &in6)) {
Home |
Main Index |
Thread Index |
Old Index