diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-29 04:01:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:18 -0400 |
commit | 928b4d8c8963e75bdb133f562b03b07f9aa4844a (patch) | |
tree | 18de7e85fe403f681a954ed04254b2d9085e7fe4 /include | |
parent | 36a5aeb8787fbf92510ed20d806e229c55726f93 (diff) |
proc: remove proc_root_driver
Use creation by full path: "driver/foo".
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')
-rw-r--r-- | include/linux/proc_fs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 65582f0384e0..f56205cbebc0 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h | |||
@@ -97,7 +97,6 @@ struct vmcore { | |||
97 | #ifdef CONFIG_PROC_FS | 97 | #ifdef CONFIG_PROC_FS |
98 | 98 | ||
99 | extern struct proc_dir_entry proc_root; | 99 | extern struct proc_dir_entry proc_root; |
100 | extern struct proc_dir_entry *proc_root_driver; | ||
101 | extern struct proc_dir_entry *proc_root_kcore; | 100 | extern struct proc_dir_entry *proc_root_kcore; |
102 | 101 | ||
103 | extern spinlock_t proc_subdir_lock; | 102 | extern spinlock_t proc_subdir_lock; |
@@ -211,8 +210,6 @@ extern void dup_mm_exe_file(struct mm_struct *oldmm, struct mm_struct *newmm); | |||
211 | 210 | ||
212 | #else | 211 | #else |
213 | 212 | ||
214 | #define proc_root_driver NULL | ||
215 | |||
216 | #define proc_net_fops_create(net, name, mode, fops) ({ (void)(mode), NULL; }) | 213 | #define proc_net_fops_create(net, name, mode, fops) ({ (void)(mode), NULL; }) |
217 | static inline void proc_net_remove(struct net *net, const char *name) {} | 214 | static inline void proc_net_remove(struct net *net, const char *name) {} |
218 | 215 | ||