diff options
author | Mengdong Lin <mengdong.lin@linux.intel.com> | 2015-11-18 02:23:19 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-11-18 14:55:30 +0100 |
commit | 605551aec6b4a1b5ca1d1fc519d0f4ce2488e786 (patch) | |
tree | e90d884efbd2b0a95020637ba13d4a718ca0d8b7 /src | |
parent | a661f144d9a5a73ae1e1972a5b9b00ff5ed50ee2 (diff) | |
download | alsa-lib-605551aec6b4a1b5ca1d1fc519d0f4ce2488e786.tar.gz |
topology: Remove unused variables
Fix gcc warning when -Wunused-variable is set.
Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/topology/pcm.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/topology/pcm.c b/src/topology/pcm.c index 9b7e402e..8eb62e46 100644 --- a/src/topology/pcm.c +++ b/src/topology/pcm.c @@ -58,7 +58,6 @@ static int tplg_build_pcm_caps(snd_tplg_t *tplg, struct tplg_elem *elem) struct tplg_elem *ref_elem = NULL; struct snd_soc_tplg_pcm *pcm; struct snd_soc_tplg_stream_caps *caps; - struct snd_soc_tplg_stream *stream; unsigned int i; pcm = elem->pcm; @@ -273,7 +272,7 @@ int tplg_parse_stream_caps(snd_tplg_t *tplg, snd_config_t *cfg, struct tplg_elem *elem = private; struct snd_soc_tplg_pcm *pcm; const char *id, *value; - int err, stream; + int stream; pcm = elem->pcm; @@ -384,7 +383,6 @@ int tplg_parse_be(snd_tplg_t *tplg, snd_config_iterator_t i, next; snd_config_t *n; const char *id, *val = NULL; - int err; elem = tplg_elem_new_common(tplg, cfg, NULL, SND_TPLG_TYPE_BE); if (!elem) @@ -438,7 +436,6 @@ int tplg_parse_cc(snd_tplg_t *tplg, snd_config_iterator_t i, next; snd_config_t *n; const char *id, *val = NULL; - int err; elem = tplg_elem_new_common(tplg, cfg, NULL, SND_TPLG_TYPE_CC); if (!elem) |