usb: usbmidi kill urb cleanup
- usb_kill_urb() cleanup Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
bcb54a5403
commit
f5e135af87
1 changed files with 1 additions and 1 deletions
|
@ -981,7 +981,7 @@ void snd_usbmidi_disconnect(struct list_head* p)
|
|||
if (umidi->usb_protocol_ops->finish_out_endpoint)
|
||||
umidi->usb_protocol_ops->finish_out_endpoint(ep->out);
|
||||
}
|
||||
if (ep->in && ep->in->urb)
|
||||
if (ep->in)
|
||||
usb_kill_urb(ep->in->urb);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue