diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-02-06 18:37:10 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-06 21:32:43 -0500 |
commit | 171ef917dfe721b1437b0066f7bc5684d776bba8 (patch) | |
tree | 70023e72f0abe0ec3422dc5846797d042ac01305 /fs/proc/array.c | |
parent | 20d28cde5558a2a211620254ec7bc53a4334167f (diff) |
fs/proc/array.c: delete children_seq_release()
It is 1:1 wrapper around seq_release().
Link: http://lkml.kernel.org/r/20171122171510.GA12161@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/array.c')
-rw-r--r-- | fs/proc/array.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index d67a72dcb92c..598803576e4c 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c | |||
@@ -736,16 +736,10 @@ static int children_seq_open(struct inode *inode, struct file *file) | |||
736 | return ret; | 736 | return ret; |
737 | } | 737 | } |
738 | 738 | ||
739 | int children_seq_release(struct inode *inode, struct file *file) | ||
740 | { | ||
741 | seq_release(inode, file); | ||
742 | return 0; | ||
743 | } | ||
744 | |||
745 | const struct file_operations proc_tid_children_operations = { | 739 | const struct file_operations proc_tid_children_operations = { |
746 | .open = children_seq_open, | 740 | .open = children_seq_open, |
747 | .read = seq_read, | 741 | .read = seq_read, |
748 | .llseek = seq_lseek, | 742 | .llseek = seq_lseek, |
749 | .release = children_seq_release, | 743 | .release = seq_release, |
750 | }; | 744 | }; |
751 | #endif /* CONFIG_PROC_CHILDREN */ | 745 | #endif /* CONFIG_PROC_CHILDREN */ |