diff options
| author | Yu Liao <[email protected]> | 2022-08-29 01:15:34 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2022-09-03 18:14:51 +0000 |
| commit | 06f7c08751939f33d79712590c2b21d02aba61b6 (patch) | |
| tree | 53b8f2e37babc720633665048c7834130f534648 /lib/zstd/common/compiler.h | |
| parent | intel_idle: move from strlcpy() with unused retval to strscpy() (diff) | |
| download | kernel-06f7c08751939f33d79712590c2b21d02aba61b6.tar.gz kernel-06f7c08751939f33d79712590c2b21d02aba61b6.zip | |
cpuidle: Remove redundant check in cpuidle_switch_governor()
gov has already been NULL checked at the beginning of
cpuidle_switch_governor, so remove redundant check.
While at it, use pr_info() instead printk() to address the following
checkpatch warning:
WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then
dev_info(dev, ... then pr_info(... to printk(KERN_INFO ...
Signed-off-by: Yu Liao <[email protected]>
[ rjw: Subject and changelog edits, added empty line after if () ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/zstd/common/compiler.h')
0 files changed, 0 insertions, 0 deletions
