From 591da537e22be88da23216b2640331a7338ce0ae Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Thu, 28 Apr 2016 17:23:23 -0400 Subject: [PATCH] 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 --- src/afs/afs_call.c | 6 ------ 1 file changed, 6 deletions(-) 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); } -- 2.39.5