Skip to content

Commit

Permalink
usb: usbmidi kill urb cleanup
Browse files Browse the repository at this point in the history
- usb_kill_urb() cleanup

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Mariusz Kozlowski authored and Greg Kroah-Hartman committed Dec 1, 2006
1 parent bcb54a5 commit f5e135a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/usb/usbmidi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit f5e135a

Please sign in to comment.