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>
This commit is contained in:
parent
8235ca3c05
commit
43c7bf0472
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue