From: Derrick Brashear Date: Tue, 4 Mar 2003 10:40:01 +0000 (+0000) Subject: viced-callback-remove-dead-functions-20030303 X-Git-Tag: openafs-devel-1_3_50~350 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1075b3c7f141212eb7daecde057b2b2b3229930e;p=packages%2Fo%2Fopenafs.git viced-callback-remove-dead-functions-20030303 remove ClearHostCallbacks; make ClearHostCallbacks_r static --- diff --git a/src/viced/callback.c b/src/viced/callback.c index 943e6264b..02a0b4173 100644 --- a/src/viced/callback.c +++ b/src/viced/callback.c @@ -1542,17 +1542,7 @@ static int GetSomeSpace_r(struct host *hostp, int locked) } /* locked - set if caller has already locked the host */ -int ClearHostCallbacks(struct host *hp, int locked) -{ - int retVal; - H_LOCK - retVal = ClearHostCallbacks_r(hp, locked); - H_UNLOCK - return retVal; -} - -/* locked - set if caller has already locked the host */ -int ClearHostCallbacks_r(struct host *hp, int locked) +static int ClearHostCallbacks_r(struct host *hp, int locked) { struct interfaceAddr interf; int code;