From 2f35ea476d852248586239a6ed3e026f525e7e26 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 28 Apr 2002 18:29:44 +0000 Subject: [PATCH] We don't need the arp kludge any more. --- sys/nfsclient/bootp_subr.c | 6 ------ sys/nfsclient/nfs_vfsops.c | 7 ------- 2 files changed, 13 deletions(-) diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c index 5de53ef61a6..bdd51ee2e05 100644 --- a/sys/nfsclient/bootp_subr.c +++ b/sys/nfsclient/bootp_subr.c @@ -1658,12 +1658,6 @@ bootpc_init(void) if (nfs_diskless_valid != 0) return; - /* - * Wait until arp entries can be handled. - */ - while (time_second == 0) - tsleep(&time_second, PZERO + 8, "arpkludge", 10); - gctx = malloc(sizeof(*gctx), M_TEMP, M_WAITOK); if (gctx == NULL) panic("Failed to allocate bootp global context structure"); diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index 841566172e9..0f847653933 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -389,13 +389,6 @@ nfs_mountroot(struct mount *mp, struct thread *td) bootpc_init(); /* use bootp to get nfs_diskless filled in */ #endif - /* - * XXX time must be non-zero when we init the interface or else - * the arp code will wedge... - */ - while (time_second == 0) - tsleep(&time_second, PZERO+8, "arpkludge", 10); - if (nfs_diskless_valid==1) nfs_convert_diskless();