Skip to content

Commit

Permalink
sched: mark sched_create_sysfs_power_savings_entries() as __init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Li Zefan authored and Ingo Molnar committed Jan 5, 2009
1 parent 5359c32 commit 39aac64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 39aac64

Please sign in to comment.