From 62dae46841a0a19f2b82590e9d5b42dcc19af8fc 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. Reviewed-on: https://gerrit.openafs.org/12277 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot (cherry picked from commit 591da537e22be88da23216b2640331a7338ce0ae) Change-Id: I9964603d68feea840cb70056dafad96d2c6adea2 Reviewed-on: https://gerrit.openafs.org/12307 Tested-by: BuildBot Reviewed-by: Mark Vitale Reviewed-by: Stephan Wiesand --- 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 a8937a31a..65d485cbb 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -908,12 +908,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