From: Jiri Kosina Date: Fri, 26 Jan 2007 11:58:24 +0000 (+0100) Subject: USB HID: fix bogus comment in hid_get_class_descriptor() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43c7bf0472ec1f813fccc6012654399345898491;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 --- 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, { 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),