Lots of clean-ups and simplifications
[invirt/third/libt4.git] / lock_smain.cc
index c256cbe..69cc433 100644 (file)
@@ -14,8 +14,6 @@ char tprintf_thread_prefix = 's';
 int
 main(int argc, char *argv[])
 {
-    int count = 0;
-
     setvbuf(stdout, NULL, _IONBF, 0);
     setvbuf(stderr, NULL, _IONBF, 0);
 
@@ -26,11 +24,6 @@ main(int argc, char *argv[])
         exit(1);
     }
 
-    char *count_env = getenv("RPC_COUNT");
-    if(count_env != NULL){
-        count = atoi(count_env);
-    }
-
     rsm rsm(argv[1], argv[2]);
     lock_server_cache_rsm ls(&rsm);
     rsm.set_state_transfer((rsm_state_transfer *)&ls);