Remove an outdated FIXME
[fw/stlink] / src / stlink-usb.c
index 65d92ecabb2bbebc19b5fd167ba9708edc411e5b..979ba9731bbeb1eee93213a0a8f1d81a756be5fa 100644 (file)
@@ -4,7 +4,7 @@
 #include <stdint.h>
 #include <time.h>
 #include <sys/types.h>
-#include <libusb-1.0/libusb.h>
+#include <libusb.h>
 
 #include "stlink-common.h"
 #include "stlink-usb.h"
@@ -636,7 +636,6 @@ stlink_t* stlink_open_usb(const int verbose) {
     
     slu->usb_handle = libusb_open_device_with_vid_pid(slu->libusb_ctx, USB_ST_VID, USB_STLINK_32L_PID);
     if (slu->usb_handle == NULL) {
-               // TODO - free usb context too...
                WLOG("Couldn't find any ST-Link/V2 devices");
         goto on_error;
     }