]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
USB HID: fix bogus comment in hid_get_class_descriptor()
authorJiri Kosina <jkosina@suse.cz>
Fri, 26 Jan 2007 11:58:24 +0000 (12:58 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 5 Feb 2007 09:00:43 +0000 (10:00 +0100)
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>
drivers/usb/input/hid-core.c

index cc1feb0ef2964605cf06b60b34b22c8cf9e7964e..68b68a2b1022b1733acb128350f8d4fa4a2af7d3 100644 (file)
@@ -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),