summaryrefslogtreecommitdiff
path: root/sound/x86/intel_hdmi_audio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-02-02 00:25:58 +0300
committerTakashi Iwai <tiwai@suse.de>2017-02-03 19:35:56 +0300
commit7d9e79869ba2a8a552f4c2cf1df44cf9a0822f02 (patch)
tree443c0c8f7a7deec8022ff19778706f5615071d58 /sound/x86/intel_hdmi_audio.h
parentfa5dfe6a01481a8fa00469be42ea32beb468a501 (diff)
downloadlinux-7d9e79869ba2a8a552f4c2cf1df44cf9a0822f02.tar.xz
ALSA: x86: Drop unused fields from pcm_stream_info
The struct pcm_stream_info contains a few unused or useless fields. str_id is always zero, buffer_ptr is volatile, never read, and sfreq is nowhere referred. Kill them. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86/intel_hdmi_audio.h')
-rw-r--r--sound/x86/intel_hdmi_audio.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/x86/intel_hdmi_audio.h b/sound/x86/intel_hdmi_audio.h
index 3bd2bb60f1f1..7bd273ec3275 100644
--- a/sound/x86/intel_hdmi_audio.h
+++ b/sound/x86/intel_hdmi_audio.h
@@ -72,12 +72,9 @@
#define AUD_CONFIG_CH_MASK 0x70
struct pcm_stream_info {
- int str_id;
struct snd_pcm_substream *had_substream;
- u32 buffer_ptr;
u64 buffer_rendered;
u32 ring_buf_size;
- int sfreq;
};
struct ring_buf_info {