HomeFreeBSD

sound: Remove chn_timeout check from chn_init()

Description

sound: Remove chn_timeout check from chn_init()

This check is not related to channel initializion, but is also
unnecessary, since sysctl_hw_snd_timeout() takes care of checking if
chn_timeout is within bounds.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D44992

(cherry picked from commit 7cc1afc5589000ac6ad7a908b07fad3401367bd1)

Details

Provenance
christosAuthored on Apr 28 2024, 7:47 PM
Reviewer
markj
Differential Revision
D44992: sound: Remove chn_timeout check from chn_init()
Parents
rG930b5a3c07f2: sound: Move pcm_chnref() and pcm_chnrelease() to pcm/channel.c
Branches
Unknown
Tags
Unknown