From 899ef71424d6e24d516a941f19044312a56778f7 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Mon, 20 Jun 2005 18:12:04 +0000 Subject: [PATCH] Remove the check for the root dev. The required functionality is only available in recent versions of libusb, and the check isn't really needed anyway (as the check for vendor and product ID will cover that as well). git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@479 81a1dc3b-b13d-400b-aceb-764788c761c2 --- usb_libusb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/usb_libusb.c b/usb_libusb.c index 11d493b8..d7b98455 100644 --- a/usb_libusb.c +++ b/usb_libusb.c @@ -101,9 +101,6 @@ static int usbdev_open(char * port, long baud) for (bus = usb_busses; bus; bus = bus->next) { - if (bus->root_dev) - continue; - for (dev = bus->devices; dev; dev = dev->next) { udev = usb_open(dev);