From 6493b976d3015d44411cd77a4f526d3de47d0e5d Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 21 Oct 2013 12:18:42 +1100 Subject: [PATCH] Drop usb buffering message to debug logging level. --- usbutils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usbutils.c b/usbutils.c index 6ad2245d..2cffc220 100644 --- a/usbutils.c +++ b/usbutils.c @@ -2526,8 +2526,8 @@ int _usb_read(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_t memcpy(usbdev->buffer, usbbuf + bufsiz, usbdev->bufamt); tot -= usbdev->bufamt; usbbuf[tot] = '\0'; - applog(LOG_INFO, "USB: %s%i read1 buffering %d extra bytes", - cgpu->drv->name, cgpu->device_id, usbdev->bufamt); + applog(LOG_DEBUG, "USB: %s%i read1 buffering %d extra bytes", + cgpu->drv->name, cgpu->device_id, usbdev->bufamt); } *processed = tot; @@ -2650,8 +2650,8 @@ int _usb_read(struct cgpu_info *cgpu, int intinfo, int epinfo, char *buf, size_t tot -= usbdev->bufamt; memcpy(usbdev->buffer, usbbuf + tot, usbdev->bufamt); usbbuf[tot] = '\0'; - applog(LOG_ERR, "USB: %s%i read2 buffering %d extra bytes", - cgpu->drv->name, cgpu->device_id, usbdev->bufamt); + applog(LOG_DEBUG, "USB: %s%i read2 buffering %d extra bytes", + cgpu->drv->name, cgpu->device_id, usbdev->bufamt); } }