Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Remove unused and unimplemented code related to CP_QUAL
details: https://anonhg.NetBSD.org/src/rev/32a6c3d50d7d
branches: trunk
changeset: 957353:32a6c3d50d7d
user: yamaguchi <yamaguchi%NetBSD.org@localhost>
date: Wed Nov 25 09:57:26 2020 +0000
description:
Remove unused and unimplemented code related to CP_QUAL
diffstat:
sys/net/if_spppsubr.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r f9c96e27e8e3 -r 32a6c3d50d7d sys/net/if_spppsubr.c
--- a/sys/net/if_spppsubr.c Wed Nov 25 09:55:01 2020 +0000
+++ b/sys/net/if_spppsubr.c Wed Nov 25 09:57:26 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_spppsubr.c,v 1.202 2020/11/25 09:55:01 yamaguchi Exp $ */
+/* $NetBSD: if_spppsubr.c,v 1.203 2020/11/25 09:57:26 yamaguchi Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.202 2020/11/25 09:55:01 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.203 2020/11/25 09:57:26 yamaguchi Exp $");
#if defined(_KERNEL_OPT)
#include "opt_inet.h"
@@ -3036,11 +3036,6 @@
SPPP_LOCK(sp, RW_WRITER);
}
- for (i = 0; i < IDX_COUNT; i++)
- if ((cps[i])->flags & CP_QUAL) {
- (cps[i])->Open(sp, __UNCONST(&cps[i]));
- }
-
if ((sp->lcp.opts & (1 << LCP_OPT_AUTH_PROTO)) != 0 ||
(sp->pp_flags & PP_NEEDAUTH) != 0)
sppp_change_phase(sp, SPPP_PHASE_AUTHENTICATE);
Home |
Main Index |
Thread Index |
Old Index