summaryrefslogtreecommitdiffstats
path: root/drivers/usb/input
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-01-26 12:58:24 +0100
committerJiri Kosina <jkosina@suse.cz>2007-02-05 10:00:43 +0100
commit43c7bf0472ec1f813fccc6012654399345898491 (patch)
tree70231e352eb3fc8d57d7c435cc189fba0f65a049 /drivers/usb/input
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>
Diffstat (limited to 'drivers/usb/input')
-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 cc1feb0ef29..68b68a2b102 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,
{
int result, retries = 4;
- memset(buf,0,size); // Make sure we parse really received data
+ memset(buf, 0, size);
do {
result = usb_control_msg(dev, usb_rcvctrlpipe(dev, 0),