mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-20 16:46:23 +08:00
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
@ -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 New Issue
Block a user