Page MenuHomeFreeBSD

sound: Convert pcm_chn_add() to void
ClosedPublic

Authored by christos on Sun, Apr 28, 5:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 8, 1:01 PM
Unknown Object (File)
Mon, May 6, 11:38 PM
Unknown Object (File)
Fri, May 3, 3:55 AM
Unknown Object (File)
Wed, May 1, 4:09 AM
Unknown Object (File)
Wed, May 1, 1:09 AM
Unknown Object (File)
Tue, Apr 30, 8:14 PM
Unknown Object (File)
Tue, Apr 30, 12:52 PM
Unknown Object (File)
Tue, Apr 30, 7:58 AM
Subscribers

Details

Summary

It always returns 0.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sun, Apr 28, 7:12 PM
markj added inline comments.
sys/dev/sound/pcm/vchan.c
709

It would be a bit cleaner to initialize ret either at the beginning of the function, or further down where we check parent_caps == NULL.

This revision was automatically updated to reflect the committed changes.