summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-01-31 09:53:56 +0300
committerTakashi Iwai <tiwai@suse.de>2017-02-03 19:25:43 +0300
commit0e18060f99a42c20f87d64eb30e5f424509643ae (patch)
tree9f34692824345f4cfefa565f17b00da13e90a1d1
parent6ddb3ab66f94109c524859ba4dd9d43772893676 (diff)
downloadlinux-0e18060f99a42c20f87d64eb30e5f424509643ae.tar.xz
ALSA: x86: Drop unused hw_silence field
It's nowhere used. Let's drop it. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/x86/intel_hdmi_audio.c1
-rw-r--r--sound/x86/intel_hdmi_audio.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/sound/x86/intel_hdmi_audio.c b/sound/x86/intel_hdmi_audio.c
index e08691110a48..efc56544af17 100644
--- a/sound/x86/intel_hdmi_audio.c
+++ b/sound/x86/intel_hdmi_audio.c
@@ -1696,7 +1696,6 @@ int hdmi_audio_probe(struct platform_device *devptr,
pm_runtime_set_active(intelhaddata->dev);
pm_runtime_enable(intelhaddata->dev);
- intelhaddata->hw_silence = 1;
*had_ret = intelhaddata;
return 0;
diff --git a/sound/x86/intel_hdmi_audio.h b/sound/x86/intel_hdmi_audio.h
index da0a927d37fe..32a2fb766e47 100644
--- a/sound/x86/intel_hdmi_audio.h
+++ b/sound/x86/intel_hdmi_audio.h
@@ -118,7 +118,6 @@ struct had_pvt_data {
* @kctl: holds kctl ptrs used for channel map
* @chmap: holds channel map info
* @audio_reg_base: hdmi audio register base offset
- * @hw_silence: flag indicates SoC support for HW silence/Keep alive
* @underrun_count: PCM stream underrun counter
*/
struct snd_intelhad {
@@ -142,7 +141,6 @@ struct snd_intelhad {
struct snd_pcm_chmap *chmap;
unsigned int *audio_reg_base;
unsigned int audio_cfg_offset;
- bool hw_silence;
int underrun_count;
};