From 8650212b801af30da075e4e5edf280f5536a8a13 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Fri, 5 Feb 2016 17:26:51 +0100 Subject: [PATCH] Remove Workload display in benchmark, remove unused variable --- src/oclHashcat.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/oclHashcat.c b/src/oclHashcat.c index 01d4c001f..906eb7fea 100644 --- a/src/oclHashcat.c +++ b/src/oclHashcat.c @@ -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; }