projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45571bb
)
ALSA: pcm: remove a superfluous function declaration
author
Guennadi Liakhovetski
<guennadi.liakhovetski@linux.intel.com>
Wed, 30 Jan 2019 16:22:39 +0000
(17:22 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 31 Jan 2019 11:23:39 +0000
(12:23 +0100)
Declaration of snd_pcm_drop() in sound/core/pcm_native.c is superfluous
since the function isn't called before being defined. Remove the
declaration.
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c
patch
|
blob
|
history
diff --git
a/sound/core/pcm_native.c
b/sound/core/pcm_native.c
index 0bc4aa0ac9cfeb9d8b1f543428982cd32363b37d..672babd20cb1a1e76be36a0939d688ff52c92f2a 100644
(file)
--- a/
sound/core/pcm_native.c
+++ b/
sound/core/pcm_native.c
@@
-1806,8
+1806,6
@@
static const struct action_ops snd_pcm_action_drain_init = {
.post_action = snd_pcm_post_drain_init
};
-static int snd_pcm_drop(struct snd_pcm_substream *substream);
-
/*
* Drain the stream(s).
* When the substream is linked, sync until the draining of all playback streams