From e2289ceb176b34a7d0c717e1719e1b797b28d276 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 29 Sep 2016 14:49:41 +0200 Subject: [PATCH] Remove no workaround from weak_hash_check() no longer required --- src/weak_hash.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/weak_hash.c b/src/weak_hash.c index 9a9e4165d..c3b8c70ec 100644 --- a/src/weak_hash.c +++ b/src/weak_hash.c @@ -12,13 +12,6 @@ void weak_hash_check (opencl_ctx_t *opencl_ctx, hc_device_param_t *device_param, const user_options_t *user_options, const user_options_extra_t *user_options_extra, const straight_ctx_t *straight_ctx, const combinator_ctx_t *combinator_ctx, hashconfig_t *hashconfig, hashes_t *hashes, const uint salt_pos) { - if (device_param == NULL) - { - log_error ("ERROR: %s : Invalid argument", __func__); - - exit (-1); - } - salt_t *salt_buf = &hashes->salts_buf[salt_pos]; device_param->kernel_params_buf32[27] = salt_pos;