Page MenuHomeFreeBSD

qcom_clk: compilation fixes
ClosedPublic

Authored by adrian on Sep 12 2022, 6:37 AM.
Tags
None
Referenced Files
F107489956: D36533.diff
Tue, Jan 14, 10:47 PM
Unknown Object (File)
Dec 11 2024, 8:17 AM
Unknown Object (File)
Nov 25 2024, 8:26 PM
Unknown Object (File)
Nov 24 2024, 3:09 AM
Unknown Object (File)
Nov 23 2024, 9:44 PM
Unknown Object (File)
Nov 23 2024, 1:39 PM
Unknown Object (File)
Nov 22 2024, 5:42 PM
Unknown Object (File)
Nov 18 2024, 5:09 PM
Subscribers

Details

Summary
  • remove dead code
  • log the enabled state if debugging is enabled

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 47346
Build 44233: arc lint + arc unit

Event Timeline

sys/dev/qcom_clk/qcom_clk_rcg2.c
268

bool enabled __unused;

is how this case is more often handled. If the ifdef above were under INVARIANTS, then __diagunused would be used instead. But this is more of a debug than a diagnostic and we don't have a good define for those.

This revision is now accepted and ready to land.Sep 12 2022, 6:35 PM
This revision was automatically updated to reflect the committed changes.