diff options
author | Chris Rorvick <chris@rorvick.com> | 2015-02-01 01:01:08 -0600 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-01 09:35:24 +0100 |
commit | 642adf5f9a9c8dd8f730c4f034608e4d086abab8 (patch) | |
tree | 58c827c54381dc87af765182786523e4562deecb /sound/usb | |
parent | 6eb3db91f2b68cbbcc1b4256333dc683afb54a73 (diff) | |
download | op-kernel-dev-642adf5f9a9c8dd8f730c4f034608e4d086abab8.zip op-kernel-dev-642adf5f9a9c8dd8f730c4f034608e4d086abab8.tar.gz |
ALSA: line6: Remove unused line6_midibuf_status()
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>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/line6/midibuf.c | 7 | ||||
-rw-r--r-- | sound/usb/line6/midibuf.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/sound/usb/line6/midibuf.c b/sound/usb/line6/midibuf.c index b5c4d79..3b8b59b 100644 --- a/sound/usb/line6/midibuf.c +++ b/sound/usb/line6/midibuf.c @@ -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 diff --git a/sound/usb/line6/midibuf.h b/sound/usb/line6/midibuf.h index 05dbf11..1d9b59a 100644 --- a/sound/usb/line6/midibuf.h +++ b/sound/usb/line6/midibuf.h @@ -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); |