The branch main has been updated by avg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=53b356f17ab81cfff14863dc429ee9b38a1fc1d4

commit 53b356f17ab81cfff14863dc429ee9b38a1fc1d4
Author:     Andriy Gapon <[email protected]>
AuthorDate: 2021-09-24 16:22:53 +0000
Commit:     Andriy Gapon <[email protected]>
CommitDate: 2021-11-13 09:20:59 +0000

    audio_soc: remove useless call to pcm_getbuffersize
    
    Its result was not used and it does not have any side-effects.
    
    MFC after:      2 weeks
---
 sys/dev/sound/fdt/audio_soc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/dev/sound/fdt/audio_soc.c b/sys/dev/sound/fdt/audio_soc.c
index eeb55d85420e..6ce64cc9eeed 100644
--- a/sys/dev/sound/fdt/audio_soc.c
+++ b/sys/dev/sound/fdt/audio_soc.c
@@ -408,8 +408,6 @@ audio_soc_init(void *arg)
                return;
        }
 
-       pcm_getbuffersize(sc->dev, AUDIO_BUFFER_SIZE, AUDIO_BUFFER_SIZE,
-           AUDIO_BUFFER_SIZE);
        sc->play_channel.sc = sc;
        sc->rec_channel.sc = sc;
 

Reply via email to