HomeFreeBSD

sound: Get rid of pnum and max variables in chn_init()

Description

sound: Get rid of pnum and max variables in chn_init()

The VCHAN count is checked in vchan_setnew(), and there is no reason to
cap the hardware channels in the first place.

This is part of a series of follow-up patches.

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

Details

Provenance
christosAuthored on Fri, Oct 18, 8:38 AM
Reviewer
dev_submerge.ch
Differential Revision
D46521: sound: Get rid of pnum and max variables in chn_init()
Parents
rG998de46c5145: sound: Remove KASSERT from vchan_setnew()
Branches
Unknown
Tags
Unknown