We don't need the arp kludge any more.

This commit is contained in:
phk 2002-04-28 18:29:44 +00:00
parent 307f787e5a
commit 5549556e4f
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();