diff --git a/src/platforms/hosted/bmp_libusb.c b/src/platforms/hosted/bmp_libusb.c index f7a15fa7..9a5e6369 100644 --- a/src/platforms/hosted/bmp_libusb.c +++ b/src/platforms/hosted/bmp_libusb.c @@ -126,12 +126,6 @@ int find_debuggers(BMP_CL_OPTIONS_t *cl_opts,bmp_info_t *info) libusb_strerror(res)); exit(-1); } - res = libusb_init(&info->libusb_ctx); - if (res) { - DEBUG_WARN( "Fatal: Failed to get USB context: %s\n", - libusb_strerror(res)); - exit(-1); - } if (cl_opts->opt_cable) { if ((!strcmp(cl_opts->opt_cable, "list")) || (!strcmp(cl_opts->opt_cable, "l"))) {