Commit b2a3941ef179ea2339de6f100cd8872a9e098ac8

Con Kolivas 2013-08-13T15:36:52

Fix warning.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/driver-avalon.c b/driver-avalon.c
index 72a8d4b..d09da5b 100644
--- a/driver-avalon.c
+++ b/driver-avalon.c
@@ -237,7 +237,6 @@ static inline bool avalon_cts(char c)
 static int avalon_read(struct cgpu_info *avalon, unsigned char *buf,
 		       size_t bufsize, int timeout, int ep)
 {
-	struct avalon_info *info = avalon->device_data;
 	size_t total = 0, readsize = bufsize + 2;
 	char readbuf[AVALON_READBUF_SIZE];
 	int err, amount, ofs = 2, cp;