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

Commit 39047e07 authored by Kris Borer's avatar Kris Borer Committed by Greg Kroah-Hartman
Browse files

usb: message: remove redundant declaration



Fix the Sparse warning:

message.c:1390:21: warning: symbol 'i' shadows an earlier one
message.c:1294:13: originally declared here

Signed-off-by: default avatarKris Borer <kborer@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cca26be3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1387,8 +1387,6 @@ int usb_set_interface(struct usb_device *dev, int interface, int alternate)
	 * new altsetting.
	 */
	if (manual) {
		int i;

		for (i = 0; i < alt->desc.bNumEndpoints; i++) {
			epaddr = alt->endpoint[i].desc.bEndpointAddress;
			pipe = __create_pipe(dev,