summaryrefslogtreecommitdiffstats
path: root/sound/usb/usbmidi.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-09-26 10:01:12 +0200
committerJaroslav Kysela <perex@suse.cz>2005-11-04 13:16:37 +0100
commit3cfc1eb181b49dfbfeaf20ebfeb5cd2af4c4c4b5 (patch)
treec29cd9f00e5877bf138449dad9f770b2fc30231c /sound/usb/usbmidi.c
parentd879f0ccf55a9ac5752b24dc210a446746e3c6da (diff)
downloadtalos-obmc-linux-3cfc1eb181b49dfbfeaf20ebfeb5cd2af4c4c4b5.tar.gz
talos-obmc-linux-3cfc1eb181b49dfbfeaf20ebfeb5cd2af4c4c4b5.zip
[ALSA] usb-audio: remove old compatibility wrappers (1/2)
Modules: USB generic driver Move the usb_pipe_needs_resubmit() compatibility wrapper out of the kernel tree. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/usb/usbmidi.c')
-rw-r--r--sound/usb/usbmidi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/usb/usbmidi.c b/sound/usb/usbmidi.c
index 32be9f99c023..369319d672b6 100644
--- a/sound/usb/usbmidi.c
+++ b/sound/usb/usbmidi.c
@@ -246,10 +246,8 @@ static void snd_usbmidi_in_urb_complete(struct urb* urb, struct pt_regs *regs)
}
}
- if (usb_pipe_needs_resubmit(urb->pipe)) {
- urb->dev = ep->umidi->chip->dev;
- snd_usbmidi_submit_urb(urb, GFP_ATOMIC);
- }
+ urb->dev = ep->umidi->chip->dev;
+ snd_usbmidi_submit_urb(urb, GFP_ATOMIC);
}
static void snd_usbmidi_out_urb_complete(struct urb* urb, struct pt_regs *regs)
OpenPOWER on IntegriCloud