ALSA: line6: Remove unused line6_midibuf_skip_message()
[deliverable/linux.git] / sound / usb / line6 / midibuf.c
index b5c4d79de031007c562840d71e276d17814b9028..36a610ba342ec190b7b44c4a842fe93251380241 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
@@ -252,17 +245,6 @@ int line6_midibuf_ignore(struct midi_buffer *this, int length)
        return length;
 }
 
-int line6_midibuf_skip_message(struct midi_buffer *this, unsigned short mask)
-{
-       int cmd = this->command_prev;
-
-       if ((cmd >= 0x80) && (cmd < 0xf0))
-               if ((mask & (1 << (cmd & 0x0f))) == 0)
-                       return 1;
-
-       return 0;
-}
-
 void line6_midibuf_destroy(struct midi_buffer *this)
 {
        kfree(this->buf);
This page took 0.02462 seconds and 5 git commands to generate.