summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-02-26 22:10:40 +0100
committerKay Sievers <kay.sievers@vrfy.org>2009-02-26 22:10:40 +0100
commit5afd777ebb6c797aaf7fe8b6c3b9eab62521abd7 (patch)
treeb7ea6a3ee544b803df8b4ac9637e987e48efa46d /extras
parent468641f87fbe458f8ee7ed7696b408f6ba98e57d (diff)
usb_id: fix comment
Diffstat (limited to 'extras')
-rw-r--r--extras/usb_id/usb_id.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c
index 9ce0cdbe13..b15263ef7d 100644
--- a/extras/usb_id/usb_id.c
+++ b/extras/usb_id/usb_id.c
@@ -239,8 +239,7 @@ out:
/*
* A unique USB identification is generated like this:
*
- * 1.) Get the USB device type from DeviceClass, InterfaceClass
- * and InterfaceSubClass
+ * 1.) Get the USB device type from InterfaceClass and InterfaceSubClass
* 2.) If the device type is 'Mass-Storage/SPC-2' or 'Mass-Storage/RBC'
* use the SCSI vendor and model as USB-Vendor and USB-model.
* 3.) Otherwise use the USB manufacturer and product as
@@ -265,7 +264,7 @@ static int usb_id(struct udev_device *dev)
dbg(udev, "syspath %s\n", udev_device_get_syspath(dev));
- /* shortcut if we are called for a usb_device */
+ /* shortcut, if we are called directly for a "usb_device" type */
if (udev_device_get_devtype(dev) != NULL && strcmp(udev_device_get_devtype(dev), "usb_device") == 0) {
dev_if_packed_info(dev, packed_if_str, sizeof(packed_if_str));
dev_usb = dev;