Browse Source

Fix warning.

Con Kolivas 12 years ago
parent
commit
b2a3941ef1
1 changed files with 0 additions and 1 deletions
  1. 0 1
      driver-avalon.c

+ 0 - 1
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,
 static int avalon_read(struct cgpu_info *avalon, unsigned char *buf,
 		       size_t bufsize, int timeout, int ep)
 		       size_t bufsize, int timeout, int ep)
 {
 {
-	struct avalon_info *info = avalon->device_data;
 	size_t total = 0, readsize = bufsize + 2;
 	size_t total = 0, readsize = bufsize + 2;
 	char readbuf[AVALON_READBUF_SIZE];
 	char readbuf[AVALON_READBUF_SIZE];
 	int err, amount, ofs = 2, cp;
 	int err, amount, ofs = 2, cp;