@ -3089,7 +3089,6 @@ static int itemstats(struct io_data *io_data, int i, char *id, struct cgminer_st
@@ -3089,7 +3089,6 @@ static int itemstats(struct io_data *io_data, int i, char *id, struct cgminer_st
if(cgpu){
#ifdef USE_USBUTILS
chardetails[256];
intval;
if(cgpu->usbinfo.pipe_count)
snprintf(details,sizeof(details),
@ -3143,14 +3142,6 @@ static int itemstats(struct io_data *io_data, int i, char *id, struct cgminer_st
@@ -3143,14 +3142,6 @@ static int itemstats(struct io_data *io_data, int i, char *id, struct cgminer_st
@ -2364,18 +2364,8 @@ int _usb_read(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_t
@@ -2364,18 +2364,8 @@ int _usb_read(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_t
intendlen;
unsignedchar*ptr,*usbbuf=cgpu->usbinfo.bulkbuf;
size_tusbbufread;
intlock_wait;
/* Get statistics on how long reads wait on the devlock */
cgpu->usb_bulk_reads++;
cgtime(&read_start);
DEVRLOCK(cgpu,pstate);
cgtime(&tv_finish);
lock_wait=ms_tdiff(&tv_finish,&read_start);
cgpu->usb_rlock_total_wait+=lock_wait;
if(lock_wait>cgpu->usb_rlock_max_wait)
cgpu->usb_rlock_max_wait=lock_wait;
if(cgpu->usbinfo.nodev){
*buf='\0';
@ -2642,18 +2632,8 @@ int _usb_write(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_
@@ -2642,18 +2632,8 @@ int _usb_write(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_
doublemax,done;
__maybe_unusedboolfirst=true;
interr,sent,tot,pstate;
intlock_wait;
/* Get statistics on how long writes wait on the devlock */