Remove Workload display in benchmark, remove unused variable
authorJens Steube <jens.steube@gmail.com>
Fri, 5 Feb 2016 16:26:51 +0000 (17:26 +0100)
committerJens Steube <jens.steube@gmail.com>
Fri, 5 Feb 2016 16:26:51 +0000 (17:26 +0100)
src/oclHashcat.c

index 01d4c00..906eb7f 100644 (file)
@@ -2656,8 +2656,9 @@ static void run_cracker (hc_device_param_t *device_param, const uint pw_cnt, con
 {
   const uint kernel_loops = device_param->kernel_loops;
 
-  if (data.quiet == 0)
-    log_info ("Workload.Dev#%u : loops %u, accel %u", device_param->device_id + 1, device_param->kernel_loops, device_param->kernel_accel);
+  //only useful in debug
+  //if (data.quiet == 0)
+  //  log_info ("Workload.Dev#%u : loops %u, accel %u", device_param->device_id + 1, device_param->kernel_loops, device_param->kernel_accel);
 
   // init speed timer
 
@@ -15398,8 +15399,6 @@ int main (int argc, char **argv)
 
     if (weak_hash_threshold >= salts_cnt)
     {
-      uint first_device_id = 0;
-
       hc_device_param_t *device_param = NULL;
 
       for (uint device_id = 0; device_id < devices_cnt; device_id++)
@@ -15408,8 +15407,6 @@ int main (int argc, char **argv)
 
         if (device_param->skipped) continue;
 
-        first_device_id = device_id;
-
         break;
       }