mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
36a5aeb878
commit
928b4d8c89
6 changed files with 11 additions and 17 deletions
|
@ -97,7 +97,6 @@ struct vmcore {
|
|||
#ifdef CONFIG_PROC_FS
|
||||
|
||||
extern struct proc_dir_entry proc_root;
|
||||
extern struct proc_dir_entry *proc_root_driver;
|
||||
extern struct proc_dir_entry *proc_root_kcore;
|
||||
|
||||
extern spinlock_t proc_subdir_lock;
|
||||
|
@ -211,8 +210,6 @@ extern void dup_mm_exe_file(struct mm_struct *oldmm, struct mm_struct *newmm);
|
|||
|
||||
#else
|
||||
|
||||
#define proc_root_driver NULL
|
||||
|
||||
#define proc_net_fops_create(net, name, mode, fops) ({ (void)(mode), NULL; })
|
||||
static inline void proc_net_remove(struct net *net, const char *name) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue