From: Michael Meffie Date: Thu, 28 Apr 2016 21:23:23 +0000 (-0400) Subject: afs: remove commented out sleep in afs_call.c X-Git-Tag: upstream/1.8.0_pre1^2~89 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=591da537e22be88da23216b2640331a7338ce0ae;p=packages%2Fo%2Fopenafs.git afs: remove commented out sleep in afs_call.c The cell info setup was moved to the beginning of the startup sequence and an unnecessary sleep commented out in the syscall in which the cell info was set in commit 3fa5f389b2b7778cf0df5a506c91b427b147c4c2. Clean up afs_call.c a bit by removing this commented out code. Change-Id: I8ef0ddce4e1d327032b54ecebb48e9fdfe7767b4 Reviewed-on: https://gerrit.openafs.org/12277 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot --- diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index db42f499f..d796587dd 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -911,12 +911,6 @@ afs_syscall_call(long parm, long parm2, long parm3, osi_Assert(tbuffer1 != NULL); code = afs_InitDynroot(); if (!code) { -#if 0 - /* wait for basic init - XXX can't find any reason we need this? */ - while (afs_initState < AFSOP_START_BKG) - afs_osi_Sleep(&afs_initState); -#endif - AFS_COPYIN(AFSKPTR(parm2), (caddr_t)tcell->hosts, sizeof(tcell->hosts), code); }