mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
netns: make get_proc_net() static
get_proc_net() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
cf508b1211
commit
8086cd451f
2 changed files with 5 additions and 8 deletions
|
@ -305,8 +305,6 @@ static inline struct net *PDE_NET(struct proc_dir_entry *pde)
|
|||
return pde->parent->data;
|
||||
}
|
||||
|
||||
struct net *get_proc_net(const struct inode *inode);
|
||||
|
||||
struct proc_maps_private {
|
||||
struct pid *pid;
|
||||
struct task_struct *task;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue