From: Marc Schink Date: Mon, 6 May 2019 15:09:21 +0000 (+0200) Subject: jtag/drivers/jtag_usb_common: Remove warning X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=cbf99d2df3d55ef8805d0ca5b98128cea2a5d220;p=fw%2Fopenocd jtag/drivers/jtag_usb_common: Remove warning The warning appears for every possible device during enumeration and provides no useful information for an end-user. Change-Id: I56e7889a5d9d4656de13ad9e21be3a6e1906e05f Signed-off-by: Marc Schink Reviewed-on: http://openocd.zylin.com/5155 Tested-by: jenkins Reviewed-by: Tomas Vanek --- diff --git a/src/jtag/drivers/jtag_usb_common.c b/src/jtag/drivers/jtag_usb_common.c index 637e6c7f2..04b846eea 100644 --- a/src/jtag/drivers/jtag_usb_common.c +++ b/src/jtag/drivers/jtag_usb_common.c @@ -75,9 +75,6 @@ bool jtag_usb_location_equal(uint8_t dev_bus, uint8_t *port_path, /* walked the full path, all elements match */ if (path_step == path_len && !string_lengh) equal = true; - else - LOG_WARNING("excluded by device path option: %s\n", - jtag_usb_get_location()); done: free(loc);