Skip to content

Commit

Permalink
[NET]: Kill proc_net_create()
Browse files Browse the repository at this point in the history
There are no more users.

Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
David S. Miller committed Nov 7, 2007
1 parent 33120b3 commit 44656ba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
7 changes: 0 additions & 7 deletions fs/proc/proc_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@
#include "internal.h"


struct proc_dir_entry *proc_net_create(struct net *net,
const char *name, mode_t mode, get_info_t *get_info)
{
return create_proc_info_entry(name,mode, net->proc_net, get_info);
}
EXPORT_SYMBOL_GPL(proc_net_create);

struct proc_dir_entry *proc_net_fops_create(struct net *net,
const char *name, mode_t mode, const struct file_operations *fops)
{
Expand Down
3 changes: 0 additions & 3 deletions include/linux/proc_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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)
Expand Down

0 comments on commit 44656ba

Please sign in to comment.