From 6ea7a84bdcc533ad3420b651a7c3c001b8c1cc6c Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Tue, 26 Jun 2012 17:42:39 +0100 Subject: [PATCH] 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 --- src/viced/host.c | 3 --- 1 file changed, 3 deletions(-) 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); -- 2.39.5