rawmidi: remove undefined functions.
diff mbox

Message ID 1392908364-8301-1-git-send-email-o-takashi@sakamocchi.jp
State Changes Requested
Delegated to: Takashi Iwai
Headers show

Commit Message

Takashi Sakamoto Feb. 20, 2014, 2:59 p.m. UTC
'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.
---
 include/sound/rawmidi.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Takashi Iwai Feb. 20, 2014, 3:35 p.m. UTC | #1
At Thu, 20 Feb 2014 23:59:24 +0900,
Takashi Sakamoto wrote:
> 
> '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.

Could you give your sign-off?


thanks,

Takashi


> ---
>  include/sound/rawmidi.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/include/sound/rawmidi.h b/include/sound/rawmidi.h
> index adf0885..311dafe 100644
> --- a/include/sound/rawmidi.h
> +++ b/include/sound/rawmidi.h
> @@ -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);
> -- 
> 1.8.3.2
>

Patch
diff mbox

diff --git a/include/sound/rawmidi.h b/include/sound/rawmidi.h
index adf0885..311dafe 100644
--- a/include/sound/rawmidi.h
+++ b/include/sound/rawmidi.h
@@ -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);