Commit 0af68e5e authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] Fix compile warning

EMU10K1/EMU10K2 driver
Fix compile warnings regarding the unused variables/functions.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 01d25d46
...@@ -68,6 +68,7 @@ static int snd_emu10k1_spdif_get_mask(snd_kcontrol_t * kcontrol, ...@@ -68,6 +68,7 @@ static int snd_emu10k1_spdif_get_mask(snd_kcontrol_t * kcontrol,
return 0; return 0;
} }
#if 0
static int snd_audigy_spdif_output_rate_info(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t * uinfo) static int snd_audigy_spdif_output_rate_info(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t * uinfo)
{ {
static char *texts[] = {"44100", "48000", "96000"}; static char *texts[] = {"44100", "48000", "96000"};
...@@ -152,6 +153,7 @@ static snd_kcontrol_new_t snd_audigy_spdif_output_rate = ...@@ -152,6 +153,7 @@ static snd_kcontrol_new_t snd_audigy_spdif_output_rate =
.get = snd_audigy_spdif_output_rate_get, .get = snd_audigy_spdif_output_rate_get,
.put = snd_audigy_spdif_output_rate_put .put = snd_audigy_spdif_output_rate_put
}; };
#endif
static int snd_emu10k1_spdif_put(snd_kcontrol_t * kcontrol, static int snd_emu10k1_spdif_put(snd_kcontrol_t * kcontrol,
snd_ctl_elem_value_t * ucontrol) snd_ctl_elem_value_t * ucontrol)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment