Skip to content

Commit

Permalink
ALSA: line6: Remove unused line6_midibuf_status()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
crorvick authored and tiwai committed Feb 1, 2015
1 parent 6eb3db9 commit 642adf5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions sound/usb/line6/midibuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion sound/usb/line6/midibuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 642adf5

Please sign in to comment.