Page MenuHomeFreeBSD

sound: Remove PCM_DETACHING(), SD_F_DETACHING and SD_F_DYING
AcceptedPublic

Authored by christos on Tue, Nov 5, 9:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 2:50 AM
Unknown Object (File)
Fri, Nov 15, 9:02 AM
Unknown Object (File)
Mon, Nov 11, 5:31 PM
Unknown Object (File)
Sun, Nov 10, 2:07 PM
Unknown Object (File)
Fri, Nov 8, 5:26 PM
Unknown Object (File)
Fri, Nov 8, 4:54 PM
Unknown Object (File)
Fri, Nov 8, 11:32 AM
Unknown Object (File)
Fri, Nov 8, 9:04 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60416
Build 57300: arc lint + arc unit