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

Commit 1a68f71d authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman
Browse files

USB: a bit more coding style cleanup



I was sitting in a train threatened to be blocked by ice. I took this
as a hint to do some more boring work for the common good. Here's
a bit more for coding style.

Signed-off-by: default avatarOliver Neukum <oneukum@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 9251644a
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ static const char *class_decode(const int class)
	for (ix = 0; clas_info[ix].class != -1; ix++)
		if (clas_info[ix].class == class)
			break;
	return (clas_info[ix].class_name);
	return clas_info[ix].class_name;
}

static char *usb_dump_endpoint_descriptor(
@@ -212,9 +212,9 @@ static char *usb_dump_endpoint_descriptor (
		break;
	case USB_ENDPOINT_XFER_INT:
		type = "Int.";
		if (speed == USB_SPEED_HIGH) {
		if (speed == USB_SPEED_HIGH)
			interval = 1 << (desc->bInterval - 1);
		} else
		else
			interval = desc->bInterval;
		break;
	default:	/* "can't happen" */
+18 −18

File changed.

Contains only whitespace changes.