]> git.baikalelectronics.ru Git - kernel.git/commit
fs/proc/thread_self.c: code cleanup for proc_setup_thread_self()
authorChengguang Xu <cgxu519@gmx.com>
Tue, 5 Mar 2019 23:50:25 +0000 (15:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Mar 2019 05:07:21 +0000 (21:07 -0800)
commit6ca6ef6100846e82d4c0b50f228dedf75c7c99e0
tree5b1739ad13a68c6a074cd890b64c2f1c13519115
parent57b9bc261c555ef197be82902aadd7eadb93ffda
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>
fs/proc/thread_self.c