aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/proc_fs.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-04-29 04:01:41 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:18 -0400
commit9c37066d888bf6e1b96ad12304971b3ddeabbad0 (patch)
tree87f39924be4d36b25918cf7a90eb0db7743cba99 /include/linux/proc_fs.h
parent5e971dce0b2f6896e02372512df0d1fb0bfe2d55 (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 'include/linux/proc_fs.h')
-rw-r--r--include/linux/proc_fs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index 65f2299b772b..78c8c41ea9cc 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -98,7 +98,6 @@ struct vmcore {
98 98
99extern struct proc_dir_entry proc_root; 99extern struct proc_dir_entry proc_root;
100extern struct proc_dir_entry *proc_root_fs; 100extern struct proc_dir_entry *proc_root_fs;
101extern struct proc_dir_entry *proc_bus;
102extern struct proc_dir_entry *proc_root_driver; 101extern struct proc_dir_entry *proc_root_driver;
103extern struct proc_dir_entry *proc_root_kcore; 102extern struct proc_dir_entry *proc_root_kcore;
104 103
@@ -214,7 +213,6 @@ extern void dup_mm_exe_file(struct mm_struct *oldmm, struct mm_struct *newmm);
214#else 213#else
215 214
216#define proc_root_driver NULL 215#define proc_root_driver NULL
217#define proc_bus NULL
218 216
219#define proc_net_fops_create(net, name, mode, fops) ({ (void)(mode), NULL; }) 217#define proc_net_fops_create(net, name, mode, fops) ({ (void)(mode), NULL; })
220static inline void proc_net_remove(struct net *net, const char *name) {} 218static inline void proc_net_remove(struct net *net, const char *name) {}