diff mbox series

[3/4] ALSA: core: delete sync member from snd_pcm_runtime structure

Message ID 20240501113445.100817-4-o-takashi@sakamocchi.jp (mailing list archive)
State New, archived
Headers show
Series ALSA: pcm: obsolete sync member in runtime structure | expand

Commit Message

Takashi Sakamoto May 1, 2024, 11:34 a.m. UTC
Now no drivers use the sync field in snd_pcm_runtime structure. Let us
delete it to reduce the size of structure.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
---
 include/sound/pcm.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index dca5d2177e9b..3a05ebe51f06 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -401,8 +401,6 @@  struct snd_pcm_runtime {
 	snd_pcm_uframes_t silence_start; /* starting pointer to silence area */
 	snd_pcm_uframes_t silence_filled; /* already filled part of silence area */
 
-	union snd_pcm_sync_id sync;	/* hardware synchronization ID */
-
 	/* -- mmap -- */
 	struct snd_pcm_mmap_status *status;
 	struct snd_pcm_mmap_control *control;