projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8235ca3
)
USB HID: fix bogus comment in hid_get_class_descriptor()
author
Jiri Kosina
<jkosina@suse.cz>
Fri, 26 Jan 2007 11:58:24 +0000
(12:58 +0100)
committer
Jiri 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
patch
|
blob
|
history
diff --git
a/drivers/usb/input/hid-core.c
b/drivers/usb/input/hid-core.c
index cc1feb0ef2964605cf06b60b34b22c8cf9e7964e..68b68a2b1022b1733acb128350f8d4fa4a2af7d3 100644
(file)
--- 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),