From: David Henningsson Date: Thu, 30 May 2013 10:26:33 +0000 (+0200) Subject: pcm_hw: Remove unused fields in struct X-Git-Tag: v1.0.27.2~6 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=7f877543a36efd8fd5d38fae21352fc0567ece21;p=alsa-lib.git pcm_hw: Remove unused fields in struct These fields are not used, and their name similarity to other fields are quite confusing when trying to debug alsa-lib. Signed-off-by: David Henningsson Signed-off-by: Jaroslav Kysela --- diff --git a/src/pcm/pcm_hw.c b/src/pcm/pcm_hw.c index 0f3226d9..196393d0 100644 --- a/src/pcm/pcm_hw.c +++ b/src/pcm/pcm_hw.c @@ -95,8 +95,6 @@ typedef struct { volatile struct snd_pcm_mmap_status * mmap_status; struct snd_pcm_mmap_control *mmap_control; struct snd_pcm_sync_ptr *sync_ptr; - snd_pcm_uframes_t hw_ptr; - snd_pcm_uframes_t appl_ptr; int period_event; snd_timer_t *period_timer; struct pollfd period_timer_pfd;