HomeFreeBSD

sound: Remove KASSERT from vchan_setnew()

Description

sound: Remove KASSERT from vchan_setnew()

This check is not really useful, and can in fact break things, if
sysctl_dev_pcm_vchans() calls vchan_setnew() with a value that will not
satisfy the KASSERT condition.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: dev_submerge.ch, emaste
Differential Revision: https://reviews.freebsd.org/D46545

Details

Provenance
christosAuthored on Fri, Oct 18, 8:38 AM
Reviewer
dev_submerge.ch
Differential Revision
D46545: sound: Remove KASSERT from vchan_setnew()
Parents
rGfa573868f187: wpi.4: move hardware to HARDWARE + minor cleanup
Branches
Unknown
Tags
Unknown