We don't need the arp kludge any more.

This commit is contained in:
Poul-Henning Kamp 2002-04-28 18:29:44 +00:00
parent 6b00cf46ec
commit 2f35ea476d
2 changed files with 0 additions and 13 deletions

View File

@ -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");

View File

@ -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();