]> git.baikalelectronics.ru Git - kernel.git/commit
exit: Remove profile_task_exit & profile_munmap
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 8 Jan 2022 17:23:02 +0000 (11:23 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 8 Jan 2022 18:43:57 +0000 (12:43 -0600)
commitb54947b49d7e4862f7cab6f45cf34bccb5990f8f
tree5a136721b78ad7530bd0befd4961f1ed6b110ccb
parente17ec9499efab9895e6fa70eb7bd98c85aa48791
exit: Remove profile_task_exit & profile_munmap

When I say remove I mean remove.  All profile_task_exit and
profile_munmap do is call a blocking notifier chain.  The helpers
profile_task_register and profile_task_unregister are not called
anywhere in the tree.  Which means this is all dead code.

So remove the dead code and make it easier to read do_exit.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lkml.kernel.org/r/20220103213312.9144-1-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
include/linux/profile.h
kernel/exit.c
kernel/profile.c
mm/mmap.c