HomeFreeBSD

powerpc: Fix cpufreq statement scoping

Description

powerpc: Fix cpufreq statement scoping

The second statements on the lines are not guarded by the `if' condition.
This triggers a warning with newer gcc. It's relatively harmless given the
usage, but incorrect. Instead, wrap the statements so they're properly
guarded.

Reported by: powerpc64-gcc xtoolchain
MFC after: 1 week

Details

Provenance
jhibbitsAuthored on
Parents
rS344914: fuse(4): add dtrace probe for illegal short writes
Branches
Unknown
Tags
Unknown