Instead of checking the value of "ret" multiple times, just set a goto
label and jump there immediately in case of an error.
While here, remove a redundant assignment to "d".
Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Differential D46833
sound: Simplify vchan_create() error paths christos on Sep 28 2024, 3:12 PM. Authored by Tags None Referenced Files
Subscribers
Details Instead of checking the value of "ret" multiple times, just set a goto While here, remove a redundant assignment to "d". Sponsored by: The FreeBSD Foundation
Diff Detail
|