Commit ea432fc8666b6d42e22a7feaf860719f8b313a33

Con Kolivas 2014-01-09T12:52:37

Remove the unused portions of atrvec in the nanofury driver

diff --git a/libbitfury.c b/libbitfury.c
index f712183..38284cb 100644
--- a/libbitfury.c
+++ b/libbitfury.c
@@ -80,22 +80,6 @@ static unsigned int atrvec[] = {
 	0xb0e72d8e, 0x1dc5b862, 0xe9e7c4a6, 0x3050f1f5, 0x8a1a6b7e, 0x7ec384e8, 0x42c1c3fc, 0x8ed158a1, /* MIDSTATE */
 	0,0,0,0,0,0,0,0,
 	0x8a0bb7b7, 0x33af304f, 0x0b290c1a, 0xf0c4e61f, /* WDATA: hashMerleRoot[7], nTime, nBits, nNonce */
-
-	0x9c4dfdc0, 0xf055c9e1, 0xe60f079d, 0xeeada6da, 0xd459883d, 0xd8049a9d, 0xd49f9a96, 0x15972fed, /* MIDSTATE */
-	0,0,0,0,0,0,0,0,
-	0x048b2528, 0x7acb2d4f, 0x0b290c1a, 0xbe00084a, /* WDATA: hashMerleRoot[7], nTime, nBits, nNonce */
-
-	0x0317b3ea, 0x1d227d06, 0x3cca281e, 0xa6d0b9da, 0x1a359fe2, 0xa7287e27, 0x8b79c296, 0xc4d88274, /* MIDSTATE */
-	0,0,0,0,0,0,0,0,
-	0x328bcd4f, 0x75462d4f, 0x0b290c1a, 0x002c6dbc, /* WDATA: hashMerleRoot[7], nTime, nBits, nNonce */
-
-	0xac4e38b6, 0xba0e3b3b, 0x649ad6f8, 0xf72e4c02, 0x93be06fb, 0x366d1126, 0xf4aae554, 0x4ff19c5b, /* MIDSTATE */
-	0,0,0,0,0,0,0,0,
-	0x72698140, 0x3bd62b4f, 0x3fd40c1a, 0x801e43e9, /* WDATA: hashMerleRoot[7], nTime, nBits, nNonce */
-
-	0x9dbf91c9, 0x12e5066c, 0xf4184b87, 0x8060bc4d, 0x18f9c115, 0xf589d551, 0x0f7f18ae, 0x885aca59, /* MIDSTATE */
-	0,0,0,0,0,0,0,0,
-	0x6f3806c3, 0x41f82a4f, 0x3fd40c1a, 0x00334b39, /* WDATA: hashMerleRoot[7], nTime, nBits, nNonce */
 };
 static bool atrvec_set;
 
@@ -198,8 +182,6 @@ void spi_send_init(struct bitfury_info *info)
 	if (!atrvec_set) {
 		atrvec_set = true;
 		ms3steps(atrvec);
-		ms3steps(&atrvec[20]);
-		ms3steps(&atrvec[40]);
 	}
 	memset(w, 0, sizeof(w));
 	w[3] = 0xffffffff;