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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user