diff options
author | Stefan Hajnoczi <stefanha@gmail.com> | 2012-11-14 08:50:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-14 16:29:30 -0800 |
commit | 36a01f4d971c4d2d9923a94ca21ccd3f2d579563 (patch) | |
tree | a15738dda54fe049dbe79a2487cb99b69f944a53 | |
parent | 4aea449ac8c4955f18c49ecb6fd3e0417a2073c0 (diff) |
staging: line6: drop MIDI dumping code
ALSA amidi(1) and aseqdump(1) can be used to dump MIDI instead of
manually dumping MIDI messages in the driver. The advantage of using
these existing tools is that can be used at run-time rather than
compile-time.
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/line6/driver.c | 3 | ||||
-rw-r--r-- | drivers/staging/line6/midi.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c index fda92d1e92b..0bc838d9251 100644 --- a/drivers/staging/line6/driver.c +++ b/drivers/staging/line6/driver.c @@ -402,9 +402,6 @@ static void line6_data_received(struct urb *urb) continue; line6->message_length = done; -#ifdef CONFIG_LINE6_USB_DUMP_MIDI - line6_write_hexdump(line6, 'r', line6->buffer_message, done); -#endif line6_midi_receive(line6, line6->buffer_message, done); switch (line6->usbdev->descriptor.idProduct) { diff --git a/drivers/staging/line6/midi.c b/drivers/staging/line6/midi.c index 348d42549b0..c8e099bd0a4 100644 --- a/drivers/staging/line6/midi.c +++ b/drivers/staging/line6/midi.c @@ -59,9 +59,6 @@ static void line6_midi_transmit(struct snd_rawmidi_substream *substream) if (done == 0) break; -#ifdef CONFIG_LINE6_USB_DUMP_MIDI - line6_write_hexdump(line6, 's', chunk, done); -#endif line6_midibuf_write(mb, chunk, done); snd_rawmidi_transmit_ack(substream, done); } |