mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
proc: Move PDE_NET() to fs/proc/proc_net.c
Move PDE_NET() to fs/proc/proc_net.c as that's where the only user is. Signed-off-by: David Howells <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
0bb80f2405
commit
4abfd02989
2 changed files with 4 additions and 5 deletions
|
|
@ -26,6 +26,10 @@
|
|||
|
||||
#include "internal.h"
|
||||
|
||||
static inline struct net *PDE_NET(struct proc_dir_entry *pde)
|
||||
{
|
||||
return pde->parent->data;
|
||||
}
|
||||
|
||||
static struct net *get_proc_net(const struct inode *inode)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue