Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rawmidi: remove undefined functions.
@ 2014-02-20 14:59 Takashi Sakamoto
  2014-02-20 15:35 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Takashi Sakamoto @ 2014-02-20 14:59 UTC (permalink / raw)
  To: tiwai, perex; +Cc: alsa-devel

'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(-)

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] rawmidi: remove undefined functions.
  2014-02-20 14:59 [PATCH] rawmidi: remove undefined functions Takashi Sakamoto
@ 2014-02-20 15:35 ` Takashi Iwai
  2014-02-21  2:18   ` Takashi Sakamoto
  0 siblings, 1 reply; 4+ messages in thread
From: Takashi Iwai @ 2014-02-20 15:35 UTC (permalink / raw)
  To: Takashi Sakamoto; +Cc: alsa-devel

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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] rawmidi: remove undefined functions.
  2014-02-20 15:35 ` Takashi Iwai
@ 2014-02-21  2:18   ` Takashi Sakamoto
  2014-02-21 11:06     ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Takashi Sakamoto @ 2014-02-21  2:18 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 159 bytes --]

> Could you give your sign-off?

Oops, I forgot it...
Would you use attached patch instead of previous one?

Thanks

Takashi Sakamoto
o-takashi@sakamocchi.jp


[-- Attachment #2: 0001-rawmidi-remove-undefined-functions.patch --]
[-- Type: text/x-patch, Size: 1228 bytes --]

>From 1cc92cabd87472deb58a461344c0d70b3ecd93bd Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Date: Thu, 20 Feb 2014 23:45:39 +0900
Subject: [PATCH] rawmidi: remove undefined functions.

'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>
---
 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


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] rawmidi: remove undefined functions.
  2014-02-21  2:18   ` Takashi Sakamoto
@ 2014-02-21 11:06     ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2014-02-21 11:06 UTC (permalink / raw)
  To: Takashi Sakamoto; +Cc: alsa-devel

At Fri, 21 Feb 2014 11:18:57 +0900,
Takashi Sakamoto wrote:
> 
> >From 1cc92cabd87472deb58a461344c0d70b3ecd93bd Mon Sep 17 00:00:00 2001
> From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
> Date: Thu, 20 Feb 2014 23:45:39 +0900
> Subject: [PATCH] rawmidi: remove undefined functions.
> 
> '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>

Thanks, applied.


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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-21 11:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-20 14:59 [PATCH] rawmidi: remove undefined functions Takashi Sakamoto
2014-02-20 15:35 ` Takashi Iwai
2014-02-21  2:18   ` Takashi Sakamoto
2014-02-21 11:06     ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox