diff options
author | David Howells <dhowells@redhat.com> | 2013-04-11 03:20:50 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 15:42:00 -0400 |
commit | 3cb5bf1bf947d325fcf6e9458952b51cfd7e6677 (patch) | |
tree | aa7fd55a3f9547ffd5a080adc5b38a18953c4033 /fs/proc/internal.h | |
parent | 526c59784c09fb794a5f0181429525bc473453c9 (diff) | |
download | linux-3cb5bf1bf947d325fcf6e9458952b51cfd7e6677.tar.bz2 |
proc: Delete create_proc_read_entry()
Delete create_proc_read_entry() as it no longer has any users.
Also delete read_proc_t, write_proc_t, the read_proc member of the
proc_dir_entry struct and the support functions that use them. This saves a
pointer for every PDE allocated.
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.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h index 46a7e2a7b904..4b13417acfc4 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -157,8 +157,6 @@ struct pde_opener { struct completion *c; }; -ssize_t __proc_file_read(struct file *, char __user *, size_t, loff_t *); -extern const struct file_operations proc_file_operations; void proc_entry_rundown(struct proc_dir_entry *); extern spinlock_t proc_subdir_lock; |