Page MenuHomeFreeBSD

cam: Remove CAM_TRUE and CAM_FALSE, they are unused and duplicate bool
ClosedPublic

Authored by imp on Jun 23 2021, 8:37 PM.
Tags
None
Referenced Files
F173212499: D30879.diff
Thu, Sep 24, 8:28 AM
Unknown Object (File)
Tue, Sep 22, 6:28 PM
Unknown Object (File)
Sun, Sep 20, 1:07 PM
Unknown Object (File)
Sat, Sep 19, 2:26 PM
Unknown Object (File)
Fri, Sep 18, 2:45 PM
Unknown Object (File)
Fri, Sep 18, 12:35 PM
Unknown Object (File)
Mon, Sep 14, 8:45 AM
Unknown Object (File)
Sun, Sep 13, 10:57 PM
Subscribers

Details

Summary

These were in the original CAM commit in 3.x, but were not used there,
nor have they been used since then that I can tell.

Diff Detail

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

Event Timeline

imp requested review of this revision.Jun 23 2021, 8:37 PM
scottl added a subscriber: scottl.

Part of me feels that abstracted definitions for implementation semantics is good API design, but it sounds like this is a good candidate for garbage collection.

This revision is now accepted and ready to land.Jun 24 2021, 1:31 AM

Part of me feels that abstracted definitions for implementation semantics is good API design, but it sounds like this is a good candidate for garbage collection.

Had they been in use, I'd likely not have bothered to try to eliminate them as is the trend elsewhere for other non-standard bools... But since they were unused for 23 years, I rather suspected they weren't in line for use any time soon.