ALSA: x86: Drop unused hw_silence field
authorTakashi Iwai <tiwai@suse.de>
Tue, 31 Jan 2017 06:53:56 +0000 (07:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Feb 2017 16:25:43 +0000 (17:25 +0100)
It's nowhere used.  Let's drop it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c
sound/x86/intel_hdmi_audio.h

index e08691110a488f7350afbe95f8e2ec393e9c6bec..efc56544af17b0c562fd3d0473c9fed7e7e510a7 100644 (file)
@@ -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;
index da0a927d37fe10422e6965cd47a5ee70f213fca6..32a2fb766e4795801189ee1ee6a2b846185fd679 100644 (file)
@@ -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;
 };