aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-01-26 06:58:24 -0500
committerJiri Kosina <jkosina@suse.cz>2007-02-05 04:00:43 -0500
commit43c7bf0472ec1f813fccc6012654399345898491 (patch)
tree70231e352eb3fc8d57d7c435cc189fba0f65a049
parent8235ca3c05076f35d22578e8f530fd374104332a (diff)
USB HID: fix bogus comment in hid_get_class_descriptor()
The comment in hid_get_class_descriptor() says a very obvious thing and is also violating codingstyle. Just remove it. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/usb/input/hid-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
index cc1feb0ef296..68b68a2b1022 100644
--- a/drivers/usb/input/hid-core.c
+++ b/drivers/usb/input/hid-core.c
@@ -485,7 +485,7 @@ static int hid_get_class_descriptor(struct usb_device *dev, int ifnum,
485{ 485{
486 int result, retries = 4; 486 int result, retries = 4;
487 487
488 memset(buf,0,size); // Make sure we parse really received data 488 memset(buf, 0, size);
489 489
490 do { 490 do {
491 result = usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), 491 result = usb_control_msg(dev, usb_rcvctrlpipe(dev, 0),