diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-29 04:01:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:18 -0400 |
commit | 9c37066d888bf6e1b96ad12304971b3ddeabbad0 (patch) | |
tree | 87f39924be4d36b25918cf7a90eb0db7743cba99 /fs/proc | |
parent | 5e971dce0b2f6896e02372512df0d1fb0bfe2d55 (diff) |
proc: remove proc_bus
Remove proc_bus export and variable itself. Using pathnames works fine
and is slightly more understandable and greppable.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/root.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c index ef0fb57fc9ef..cc46fcba8029 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | #include "internal.h" | 23 | #include "internal.h" |
24 | 24 | ||
25 | struct proc_dir_entry *proc_bus, *proc_root_fs, *proc_root_driver; | 25 | struct proc_dir_entry *proc_root_fs, *proc_root_driver; |
26 | 26 | ||
27 | static int proc_test_super(struct super_block *sb, void *data) | 27 | static int proc_test_super(struct super_block *sb, void *data) |
28 | { | 28 | { |
@@ -137,7 +137,7 @@ void __init proc_root_init(void) | |||
137 | #ifdef CONFIG_PROC_DEVICETREE | 137 | #ifdef CONFIG_PROC_DEVICETREE |
138 | proc_device_tree_init(); | 138 | proc_device_tree_init(); |
139 | #endif | 139 | #endif |
140 | proc_bus = proc_mkdir("bus", NULL); | 140 | proc_mkdir("bus", NULL); |
141 | proc_sys_init(); | 141 | proc_sys_init(); |
142 | } | 142 | } |
143 | 143 | ||
@@ -236,5 +236,4 @@ EXPORT_SYMBOL(proc_create); | |||
236 | EXPORT_SYMBOL(remove_proc_entry); | 236 | EXPORT_SYMBOL(remove_proc_entry); |
237 | EXPORT_SYMBOL(proc_root); | 237 | EXPORT_SYMBOL(proc_root); |
238 | EXPORT_SYMBOL(proc_root_fs); | 238 | EXPORT_SYMBOL(proc_root_fs); |
239 | EXPORT_SYMBOL(proc_bus); | ||
240 | EXPORT_SYMBOL(proc_root_driver); | 239 | EXPORT_SYMBOL(proc_root_driver); |