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@479 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
4d9e862ef0
commit
069e3d4a2b
|
@ -101,9 +101,6 @@ static int usbdev_open(char * port, long baud)
|
||||||
|
|
||||||
for (bus = usb_busses; bus; bus = bus->next)
|
for (bus = usb_busses; bus; bus = bus->next)
|
||||||
{
|
{
|
||||||
if (bus->root_dev)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
for (dev = bus->devices; dev; dev = dev->next)
|
for (dev = bus->devices; dev; dev = dev->next)
|
||||||
{
|
{
|
||||||
udev = usb_open(dev);
|
udev = usb_open(dev);
|
||||||
|
|
Loading…
Reference in New Issue