ptserver: Complete pr_realmName removal

Commit 9ddf9eca56 changed the mechanism
by which the local realm is determined such that pr_realmName is
no longer required.

Tidy things up by removing the unecessary variable.

Change-Id: I9b21340a8ecd38fbb8326dbed276882c9f0e9a62
Reviewed-on: http://gerrit.openafs.org/7266
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
Simon Wilkinson 2012-04-21 21:08:13 +01:00 committed by Jeffrey Altman
parent fbc9599484
commit 3029ed4003
2 changed files with 0 additions and 4 deletions

View File

@ -146,8 +146,6 @@ struct afsconf_dir *prdir;
extern afs_int32 depthsg; extern afs_int32 depthsg;
#endif #endif
char *pr_realmName;
int restricted = 0; int restricted = 0;
int rxMaxMTU = -1; int rxMaxMTU = -1;
int rxBind = 0; int rxBind = 0;
@ -466,7 +464,6 @@ main(int argc, char **argv)
afs_com_err(whoami, code, "Couldn't get server list"); afs_com_err(whoami, code, "Couldn't get server list");
PT_EXIT(2); PT_EXIT(2);
} }
pr_realmName = info.name;
/* initialize audit user check */ /* initialize audit user check */
osi_audit_set_user_check(configDir, pr_IsLocalRealmMatch); osi_audit_set_user_check(configDir, pr_IsLocalRealmMatch);

View File

@ -180,4 +180,3 @@ afsconf_GetNoAuthFlag(struct afsconf_dir *adir)
char *prdir = "/dev/null"; char *prdir = "/dev/null";
struct prheader cheader; struct prheader cheader;
char *pr_realmName;