- unneeded constructor removed

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@167 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
schlaepfer
2006-08-24 14:25:49 +00:00
parent 7f05775955
commit ae6e3be1da

View File

@@ -3,9 +3,10 @@ package ch.ntb.usb;
public class Utils {
public static void logUsb(Usb_Bus bus) {
while (bus != null) {
System.out.println(bus.toString());
Usb_Device dev = bus.devices;
Usb_Bus usb_Bus = bus;
while (usb_Bus != null) {
System.out.println(usb_Bus.toString());
Usb_Device dev = usb_Bus.devices;
while (dev != null) {
System.out.println("\t" + dev.toString());
// Usb_Device_Descriptor
@@ -38,7 +39,7 @@ public class Utils {
}
dev = dev.next;
}
bus = bus.next;
usb_Bus = usb_Bus.next;
}
}
}