1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-30 03:48:17 +00:00

Remove Workload display in benchmark, remove unused variable

This commit is contained in:
Jens Steube 2016-02-05 17:26:51 +01:00
parent fa0e6fb78e
commit 8650212b80

View 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; const uint kernel_loops = device_param->kernel_loops;
if (data.quiet == 0) //only useful in debug
log_info ("Workload.Dev#%u : loops %u, accel %u", device_param->device_id + 1, device_param->kernel_loops, device_param->kernel_accel); //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 // init speed timer
@ -15398,8 +15399,6 @@ int main (int argc, char **argv)
if (weak_hash_threshold >= salts_cnt) if (weak_hash_threshold >= salts_cnt)
{ {
uint first_device_id = 0;
hc_device_param_t *device_param = NULL; hc_device_param_t *device_param = NULL;
for (uint device_id = 0; device_id < devices_cnt; device_id++) 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; if (device_param->skipped) continue;
first_device_id = device_id;
break; break;
} }