Skip to content

Commit

Permalink
init/main.c: remove an ifdef
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
akpm00 authored and torvalds committed Jun 4, 2014
1 parent 34a1b72 commit 647f010
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions include/linux/proc_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ extern int remove_proc_subtree(const char *, struct proc_dir_entry *);

#else /* CONFIG_PROC_FS */

static inline void proc_root_init(void)
{
}

static inline void proc_flush_task(struct task_struct *task)
{
}
Expand Down
2 changes: 0 additions & 2 deletions init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,7 @@ asmlinkage __visible void __init start_kernel(void)
signals_init();
/* rootfs populating might need page-writeback */
page_writeback_init();
#ifdef CONFIG_PROC_FS
proc_root_init();
#endif
cgroup_init();
cpuset_init();
taskstats_init_early();
Expand Down

0 comments on commit 647f010

Please sign in to comment.