- remove dead code
- log the enabled state if debugging is enabled
Details
Details
- Reviewers
imp - Commits
- rG3d9bd8252205: qcom_clk: compilation fixes
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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. |