Skip to content

Commit

Permalink
USB HID: fix bogus comment in hid_get_class_descriptor()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Kosina committed Feb 5, 2007
1 parent 8235ca3 commit 43c7bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/input/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 43c7bf0

Please sign in to comment.