summaryrefslogtreecommitdiffstats
path: root/fs/proc/internal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-04-12 01:42:56 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-01 17:29:39 -0400
commitc3bef7bcaaa7d9f6704fcd81a171c9f0c91a2259 (patch)
treeb0b1dc703676f3fb706e93a933272f50b44ed6dc /fs/proc/internal.h
parent1dd704b6175f067781807ad4da1b878357dc9755 (diff)
downloadop-kernel-dev-c3bef7bcaaa7d9f6704fcd81a171c9f0c91a2259.zip
op-kernel-dev-c3bef7bcaaa7d9f6704fcd81a171c9f0c91a2259.tar.gz
proc: Move proc_fd() to fs/proc/fd.h
Move proc_fd() to fs/proc/fd.h. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/internal.h')
-rw-r--r--fs/proc/internal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index aaf2dd8..32d8f51 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -94,11 +94,6 @@ static inline struct task_struct *get_proc_task(struct inode *inode)
return get_pid_task(proc_pid(inode), PIDTYPE_PID);
}
-static inline int proc_fd(struct inode *inode)
-{
- return PROC_I(inode)->fd;
-}
-
static inline int task_dumpable(struct task_struct *task)
{
int dumpable = 0;
OpenPOWER on IntegriCloud