commit | 45f68ab50234e825cdc7aee76a40d227d92eea14 | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Tue Mar 05 15:50:25 2019 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Mar 05 21:07:21 2019 -0800 |
tree | 5b1739ad13a68c6a074cd890b64c2f1c13519115 | |
parent | 756ca74c7f656b6ed3cb60344845878226b658ae [diff] |
fs/proc/thread_self.c: code cleanup for proc_setup_thread_self() Remove unnecessary ERR_PTR()/PTR_ERR() cast in proc_setup_thread_self(). Link: http://lkml.kernel.org/r/20190124030150.8472-2-cgxu519@gmx.com Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>