libusb: disable debug messages by default 14/1314/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 9 Apr 2013 14:40:18 +0000 (15:40 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 17 Apr 2013 09:49:45 +0000 (09:49 +0000)
Change-Id: I15dec0f521502139b57adaff576516af7883a74b
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1314
Tested-by: jenkins
src/jtag/drivers/libusb1_common.c

index c405190..888420a 100644 (file)
@@ -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++) {