Page MenuHomeFreeBSD

sound: Convert pcm_chn_add() to void
ClosedPublic

Authored by christos on Apr 28 2024, 5:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 5 2024, 10:08 AM
Unknown Object (File)
Nov 27 2024, 6:20 AM
Unknown Object (File)
Nov 26 2024, 10:18 AM
Unknown Object (File)
Oct 13 2024, 8:43 PM
Unknown Object (File)
Oct 8 2024, 8:16 AM
Unknown Object (File)
Sep 30 2024, 5:08 PM
Unknown Object (File)
Sep 26 2024, 10:51 AM
Unknown Object (File)
Sep 26 2024, 8:57 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.Apr 28 2024, 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.