Commit 5cd4bbd21cfd81bc14ae4182af9c91581466f282

Con Kolivas 2012-07-16T13:18:43

Get rid of stuff.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/cgminer.c b/cgminer.c
index 14183ec..7953baa 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -3986,12 +3986,7 @@ bool test_nonce(struct work *work, uint32_t nonce)
 	uint32_t *work_nonce = (uint32_t *)(work->data + 64 + 12);
 
 	*work_nonce = htobe32(nonce);
-#if 0
-	work->data[64 + 12 + 0] = (nonce >> 0) & 0xff;
-	work->data[64 + 12 + 1] = (nonce >> 8) & 0xff;
-	work->data[64 + 12 + 2] = (nonce >> 16) & 0xff;
-	work->data[64 + 12 + 3] = (nonce >> 24) & 0xff;
-#endif
+
 	if (opt_scrypt)
 		return true;