aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/proc_fs.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-04-11 21:09:03 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-01 17:29:40 -0400
commit4abfd0298900851930310e5d736a7f3a105089ec (patch)
treea798024b92393712c103d32f0b68b1e135287ca0 /include/linux/proc_fs.h
parent0bb80f240520c4148b623161e7856858c021696d (diff)
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 <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/proc_fs.h')
-rw-r--r--include/linux/proc_fs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index 8f7d8f24141a..33772248a3b1 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -187,11 +187,6 @@ static inline void *PDE_DATA(const struct inode *inode)
187 return PROC_I(inode)->pde->data; 187 return PROC_I(inode)->pde->data;
188} 188}
189 189
190static inline struct net *PDE_NET(struct proc_dir_entry *pde)
191{
192 return pde->parent->data;
193}
194
195#include <linux/signal.h> 190#include <linux/signal.h>
196 191
197void render_sigset_t(struct seq_file *m, const char *header, sigset_t *set); 192void render_sigset_t(struct seq_file *m, const char *header, sigset_t *set);