1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 15:27:53 +00:00

Fix warning.

This commit is contained in:
Con Kolivas 2013-08-13 15:36:52 +10:00
parent 992a97a396
commit b2a3941ef1

View File

@ -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;