]> git.sur5r.net Git - openocd/commit
drivers: xds110: Remove unnecessary and deprecated libusb function.
authorEdward Fewell <efewell@ti.com>
Tue, 5 Jun 2018 16:17:40 +0000 (11:17 -0500)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 6 Jun 2018 14:50:39 +0000 (15:50 +0100)
commitfb287ec5f5c5ed38b4661d3c1810b6ef82867ff1
tree60f97842e24df05c35d3da9c01b5067cb4f3ec11
parentf1427cca3cc6097a4635b4095ad1e30c8a508ac0
drivers: xds110: Remove unnecessary and deprecated libusb function.

libusb-1.0.22 has deprecated the libusb_set_debug function. This
function was present in the XDS110 driver as an artifact left over
from early debugging. It isn't required because logging is disabled
by default. Removing it to simplify the code and no longer need to
have libusb version specific #if's in the code.

Change-Id: I9c3f16c039da3f3fad9c4a1169978b0d85a1b45c
Signed-off-by: Edward Fewell <efewell@ti.com>
Reviewed-on: http://openocd.zylin.com/4553
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
src/jtag/drivers/xds110.c