sched: mark sched_create_sysfs_power_savings_entries() as __init
PATCH 1/1 sched: mark sched_create_sysfs_power_savings_entries() as __init
Impact: cleanup
The only caller is cpu_dev_init() which is marked as __init.
--- kernel/sched.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/sched.c +1 -1
@@ -8060,7 +8060,7 @@ static SYSDEV_CLASS_ATTR(sched_smt_power_savings, 0644, sched_smt_power_savings_store);#endif -int sched_create_sysfs_power_savings_entries (struct sysdev_class *cls) +int __init sched_create_sysfs_power_savings_entries (struct sysdev_class *cls) {int err =0 ;
Signature · 1 line
1.5.4.rc3
PATCH RESEND 1/1 sched: mark sched_create_sysfs_power_savings_entries() as __init
Impact: cleanup
The only caller is cpu_dev_init() which is marked as __init.
Signed-off-by Li Zefan <[email protected]>
---
resend with SOB added
--- kernel/sched.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/sched.c +1 -1
@@ -8060,7 +8060,7 @@ static SYSDEV_CLASS_ATTR(sched_smt_power_savings, 0644, sched_smt_power_savings_store);#endif -int sched_create_sysfs_power_savings_entries (struct sysdev_class *cls) +int __init sched_create_sysfs_power_savings_entries (struct sysdev_class *cls) {int err =0 ;
-- 1.5.4.rc3
Ingo Molnar
AppliedQuoted 4 lines · Li Zefan
Impact: cleanup
The only caller is
cpu_dev_init()which is marked as__init.
Quoted 8 lines
Signed-off-by Li Zefan <[email protected]>---
resend with SOB added
--- kernel/sched.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
applied to tip/sched/urgent, thanks!
Ingo