ALSA: rawmidi: remove undefined functions.
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 21 Feb 2014 02:18:57 +0000 (11:18 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Feb 2014 11:06:12 +0000 (12:06 +0100)
'snd_rawmidi_transmit_reset()' and 'snd_rawmidi_receive_reset()' are declared
but not defined.

This state has been continue over 10 years. So let us remove them.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/rawmidi.h

index adf0885153f358ee5697d18e640e174c024e1b72..311dafe6cc4b508ecc372ba45d8f647d55b44f9c 100644 (file)
@@ -157,10 +157,8 @@ void snd_rawmidi_set_ops(struct snd_rawmidi *rmidi, int stream,
 
 /* callbacks */
 
-void snd_rawmidi_receive_reset(struct snd_rawmidi_substream *substream);
 int snd_rawmidi_receive(struct snd_rawmidi_substream *substream,
                        const unsigned char *buffer, int count);
-void snd_rawmidi_transmit_reset(struct snd_rawmidi_substream *substream);
 int snd_rawmidi_transmit_empty(struct snd_rawmidi_substream *substream);
 int snd_rawmidi_transmit_peek(struct snd_rawmidi_substream *substream,
                              unsigned char *buffer, int count);