Commit 515548fd authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Takashi Iwai
Browse files

ALSA: pcm: remove a superfluous function declaration



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: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 45571bb8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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