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 <lizf@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -8060,7 +8060,7 @@ static SYSDEV_CLASS_ATTR(sched_smt_power_savings, 0644,
|
|||||||
sched_smt_power_savings_store);
|
sched_smt_power_savings_store);
|
||||||
#endif
|
#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;
|
int err = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user