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: Kris Borer <kborer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
cca26be3e6
Коммит
39047e0702
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче