]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: line6: drop MIDI dumping code
authorStefan Hajnoczi <stefanha@gmail.com>
Wed, 14 Nov 2012 07:50:44 +0000 (08:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 00:29:30 +0000 (16:29 -0800)
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>
drivers/staging/line6/driver.c
drivers/staging/line6/midi.c

index fda92d1e92b5bd7eff0b2d392e6fcc148125b553..0bc838d925149b7232618073d1c0703de5938893 100644 (file)
@@ -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) {
index 348d42549b0988857b375bf54a3185e972e620ef..c8e099bd0a4c41139634b23ee7c568e6c8faca86 100644 (file)
@@ -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);
        }