Page MenuHomeFreeBSD

sound: Remove PCM_DETACHING(), SD_F_DETACHING and SD_F_DYING
ClosedPublic

Authored by christos on Nov 5 2024, 9:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 11:41 AM
Unknown Object (File)
Sun, Dec 8, 11:53 PM
Unknown Object (File)
Wed, Dec 4, 7:10 AM
Unknown Object (File)
Nov 26 2024, 6:09 PM
Unknown Object (File)
Nov 17 2024, 2:50 AM
Unknown Object (File)
Nov 15 2024, 9:02 AM
Unknown Object (File)
Nov 11 2024, 5:31 PM
Unknown Object (File)
Nov 10 2024, 2:07 PM
Subscribers

Details

Summary

Since SD_F_REGISTERED is cleared at the same time SD_F_DETACHING and
SD_F_DYING are set, and since PCM_DETACHING() is always used in
conjuction with PCM_REGISTERED()/DSP_REGISTERED(), it is enough to just
check SD_F_REGISTERED.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days

Diff Detail

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