From: Simon Wilkinson Date: Tue, 26 Jun 2012 16:42:39 +0000 (+0100) Subject: viced: Remove localcellname X-Git-Tag: upstream/1.8.0_pre1^2~2307 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6ea7a84bdcc533ad3420b651a7c3c001b8c1cc6c;p=packages%2Fo%2Fopenafs.git viced: Remove localcellname Commit 8a040cfd848410b75b4e5ac5498f00f073932598 removed all of the code which relies on the localcellname variable being set, but didn't remove the variable itself. So do so. Change-Id: I34bb0d321712b6712633cf42a1d89140a0146501 Reviewed-on: http://gerrit.openafs.org/7588 Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/viced/host.c b/src/viced/host.c index 29c4b21cb..264e95164 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -2187,14 +2187,11 @@ h_GetHost_r(struct rx_connection *tcon) } /*h_GetHost_r */ -static char localcellname[PR_MAXNAMELEN + 1]; - /* not reentrant */ void h_InitHostPackage(void) { memset(&nulluuid, 0, sizeof(afsUUID)); - afsconf_GetLocalCell(confDir, localcellname, PR_MAXNAMELEN); rxcon_ident_key = rx_KeyCreate((rx_destructor_t) free); rxcon_client_key = rx_KeyCreate((rx_destructor_t) 0); MUTEX_INIT(&host_glock_mutex, "host glock", MUTEX_DEFAULT, 0);