diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-11-07 04:10:52 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-11-07 04:10:52 -0800 |
commit | 44656ba1286d82b5a5f8817eb2e4ea744143c3ca (patch) | |
tree | 930e4ba8b30618eb58b4123f676120573e0be18c /include/linux/proc_fs.h | |
parent | 33120b30cc3b8665204d4fcde7288638b0dd04d5 (diff) | |
download | op-kernel-dev-44656ba1286d82b5a5f8817eb2e4ea744143c3ca.zip op-kernel-dev-44656ba1286d82b5a5f8817eb2e4ea744143c3ca.tar.gz |
[NET]: Kill proc_net_create()
There are no more users.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/proc_fs.h')
-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 1ff4616..1273c6e 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h @@ -196,8 +196,6 @@ static inline struct proc_dir_entry *create_proc_info_entry(const char *name, return res; } -extern struct proc_dir_entry *proc_net_create(struct net *net, - const char *name, mode_t mode, get_info_t *get_info); extern struct proc_dir_entry *proc_net_fops_create(struct net *net, const char *name, mode_t mode, const struct file_operations *fops); extern void proc_net_remove(struct net *net, const char *name); @@ -208,7 +206,6 @@ extern void proc_net_remove(struct net *net, const char *name); #define proc_bus NULL #define proc_net_fops_create(net, name, mode, fops) ({ (void)(mode), NULL; }) -#define proc_net_create(net, name, mode, info) ({ (void)(mode), NULL; }) static inline void proc_net_remove(struct net *net, const char *name) {} static inline void proc_flush_task(struct task_struct *task) |