diff options
author | Mengdong Lin <mengdong.lin@linux.intel.com> | 2016-07-20 09:53:03 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-07-20 07:46:32 +0200 |
commit | 1a0d49be70d716de4f40f50d6393aead56b748de (patch) | |
tree | 2207025ba99c3ab32a05a4114cebf9332a61e940 /include | |
parent | 8e3e194a5d7c01ee310ff3fb771ce9ec4e6d8fb1 (diff) | |
download | alsa-lib-1a0d49be70d716de4f40f50d6393aead56b748de.tar.gz |
topology: Add ATTRIBUTE_UNUSED for unused parameters to fix compiler warning
This commit adds ATTRIBUTE_UNUSED to the unused parameter 'tplg' for
function tplg_parse_streams() and tplg_parse_fe_dai(). These two functions
need to keep 'tplg' as ops for tplg_parse_compound().
The compiler warnings below are fixed:
pcm.c: In function 'tplg_parse_streams':
pcm.c:262:43: warning: unused parameter 'tplg' [-Wunused-parameter]
static int tplg_parse_streams(snd_tplg_t *tplg, snd_config_t *cfg,
^
pcm.c: In function 'tplg_parse_fe_dai':
pcm.c:324:42: warning: unused parameter 'tplg' [-Wunused-parameter]
static int tplg_parse_fe_dai(snd_tplg_t *tplg, snd_config_t *cfg,
Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions