From: Ben Kaduk Date: Thu, 25 Apr 2013 21:47:06 +0000 (-0400) Subject: Remove unused variable X-Git-Tag: upstream/1.8.0_pre1^2~1193 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d97c96d67f61b797df6ceee410ac4a66b48f8f5d;p=packages%2Fo%2Fopenafs.git Remove unused variable volser has apparently never supported bcrypt from the intial IBM import. There's no need to keep around the code to fetch that key. Change-Id: I6c903f0016ef8129da7e52b4f08b38c390b847e9 Reviewed-on: http://gerrit.openafs.org/9808 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/volser/volmain.c b/src/volser/volmain.c index 0c395707c..a61431543 100644 --- a/src/volser/volmain.c +++ b/src/volser/volmain.c @@ -258,7 +258,6 @@ main(int argc, char **argv) struct rx_securityClass **securityClasses; afs_int32 numClasses; struct rx_service *service; - struct ktc_encryptionKey tkey; int rxpackets = 100; int rxJumbograms = 0; /* default is to send and receive jumbograms. */ int rxMaxMTU = -1; @@ -523,7 +522,6 @@ main(int argc, char **argv) /* initialize audit user check */ osi_audit_set_user_check(tdir, vol_IsLocalRealmMatch); - afsconf_GetKey(tdir, 999, &tkey); afsconf_BuildServerSecurityObjects(tdir, &securityClasses, &numClasses); if (securityClasses[0] == NULL) Abort("rxnull_NewServerSecurityObject");