ALSA: line6: Remove unused line6_midibuf_status()
authorChris Rorvick <chris@rorvick.com>
Sun, 1 Feb 2015 07:01:08 +0000 (01:01 -0600)
committerTakashi Iwai <tiwai@suse.de>
Sun, 1 Feb 2015 08:35:24 +0000 (09:35 +0100)
This function has not been used since merging the driver into the kernel
(and a good while before that.)

[Removed the corresponding line in midibuf.h, too -- tiwai]

Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/midibuf.c
sound/usb/line6/midibuf.h

index b5c4d79de031007c562840d71e276d17814b9028..3b8b59b349086dc23d111bc41978612896642ab3 100644 (file)
@@ -67,13 +67,6 @@ int line6_midibuf_init(struct midi_buffer *this, int size, int split)
        return 0;
 }
 
-void line6_midibuf_status(struct midi_buffer *this)
-{
-       pr_debug("midibuf size=%d split=%d pos_read=%d pos_write=%d full=%d command_prev=%02x\n",
-                this->size, this->split, this->pos_read, this->pos_write,
-                this->full, this->command_prev);
-}
-
 int line6_midibuf_bytes_free(struct midi_buffer *this)
 {
        return
index 05dbf11a4d63c8d3faa5d742ebba3475faa54e93..1d9b59ac1e59a98685fed62a1debcc42636987de 100644 (file)
@@ -31,7 +31,6 @@ extern int line6_midibuf_read(struct midi_buffer *mb, unsigned char *data,
 extern void line6_midibuf_reset(struct midi_buffer *mb);
 extern int line6_midibuf_skip_message(struct midi_buffer *mb,
                                      unsigned short mask);
-extern void line6_midibuf_status(struct midi_buffer *mb);
 extern int line6_midibuf_write(struct midi_buffer *mb, unsigned char *data,
                               int length);