[PATCH] usb/dummy_hcd: remove the wrong comment regarding hub descriptor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This comment says that hub descriptor follows. This is wrong because it
is a BOS descriptor with one capability. Since this is obvious, I remove
the comment.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
---
On Tue, Aug 21, 2012 at 01:17:33PM -0400, Alan Stern wrote:
> That would be okay.

This is a patch on-top because Felipe already applied it,

 drivers/usb/gadget/dummy_hcd.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c
index afdbb1c..4af912c 100644
--- a/drivers/usb/gadget/dummy_hcd.c
+++ b/drivers/usb/gadget/dummy_hcd.c
@@ -1916,7 +1916,6 @@ done:
 	return retval;
 }
 
-/* usb 3.0 root hub device descriptor */
 struct {
 	struct usb_bos_descriptor bos;
 	struct usb_ss_cap_descriptor ss_cap;
-- 
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux