From: Spencer Oliver Date: Tue, 9 Apr 2013 14:40:18 +0000 (+0100) Subject: libusb: disable debug messages by default X-Git-Tag: v0.7.0-rc1~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=305832c49dc5193720b0ed58d3707891c60b9aaa;p=openocd libusb: disable debug messages by default Change-Id: I15dec0f521502139b57adaff576516af7883a74b Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/1314 Tested-by: jenkins --- diff --git a/src/jtag/drivers/libusb1_common.c b/src/jtag/drivers/libusb1_common.c index c4051907..888420ac 100644 --- a/src/jtag/drivers/libusb1_common.c +++ b/src/jtag/drivers/libusb1_common.c @@ -51,8 +51,6 @@ int jtag_libusb_open(const uint16_t vids[], const uint16_t pids[], if (libusb_init(&jtag_libusb_context) < 0) return -ENODEV; - libusb_set_debug(jtag_libusb_context, 3); - cnt = libusb_get_device_list(jtag_libusb_context, &devs); for (idx = 0; idx < cnt; idx++) {