From 069e3d4a2ba98a03ec8f25d15ddd1e09257f2d04 Mon Sep 17 00:00:00 2001
From: Joerg Wunsch <j@uriah.heep.sax.de>
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@479 81a1dc3b-b13d-400b-aceb-764788c761c2
---
 avrdude/usb_libusb.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/avrdude/usb_libusb.c b/avrdude/usb_libusb.c
index 11d493b8..d7b98455 100644
--- a/avrdude/usb_libusb.c
+++ b/avrdude/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);