Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43c7bf04 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

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: default avatarJiri Kosina <jkosina@suse.cz>
parent 8235ca3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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),