diff options
author | Jeff Garzik <jeff@garzik.org> | 2011-02-04 02:55:55 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-02-04 02:55:55 -0500 |
commit | 98de751416740bcb48ca7504edd65ed27bafacc6 (patch) | |
tree | 19a5e3f2b1307d68faf7a7a606959624b0b8b285 | |
parent | e8ee4cb002405935dd0e0922073ca7f0e6fbd2c7 (diff) |
sha*.c: remove debug statement, which is redundant to hashmeter output
-rw-r--r-- | sha256_cryptopp.c | 2 | ||||
-rw-r--r-- | sha256_generic.c | 2 | ||||
-rw-r--r-- | sha256_via.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/sha256_cryptopp.c b/sha256_cryptopp.c index 47d4921..eed3a52 100644 --- a/sha256_cryptopp.c +++ b/sha256_cryptopp.c @@ -116,8 +116,6 @@ bool scanhash_cryptopp(const unsigned char *midstate, unsigned char *data, } if (n >= max_nonce) { - if (opt_debug) - fprintf(stderr, "DBG: end of nonce range\n"); *hashes_done = stat_ctr; return false; } diff --git a/sha256_generic.c b/sha256_generic.c index cc23fc1..e63b8a3 100644 --- a/sha256_generic.c +++ b/sha256_generic.c @@ -262,8 +262,6 @@ bool scanhash_c(const unsigned char *midstate, unsigned char *data, } if (n >= max_nonce) { - if (opt_debug) - fprintf(stderr, "DBG: end of nonce range\n"); *hashes_done = stat_ctr; return false; } diff --git a/sha256_via.c b/sha256_via.c index a15c664..39f86a5 100644 --- a/sha256_via.c +++ b/sha256_via.c @@ -71,8 +71,6 @@ bool scanhash_via(unsigned char *data_inout, } if (n >= max_nonce) { - if (opt_debug) - fprintf(stderr, "DBG: end of nonce range\n"); *hashes_done = stat_ctr; return false; } |