x86/process: Delete useless check for dead process with LDT
authorJann Horn <jannh@google.com>
Fri, 12 Jul 2019 22:41:52 +0000 (00:41 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 16 Jul 2019 22:42:27 +0000 (00:42 +0200)
commit50e04acf2990d0d93983720b0a85b11ef805df60
tree2624aa4c5228293f73164eed6cdc3101a1a46f96
parent29e7e9664aec17b94a9c8c5a75f8d216a206aa3a
x86/process: Delete useless check for dead process with LDT

At release_thread(), ->mm is NULL; and it is fine for the former mm to
still have an LDT. Delete this check in process_64.c, similar to
commit 2684927c6b93 ("[PATCH] x86: Deprecate useless bug"), which did the
same in process_32.c.

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190712224152.13129-1-jannh@google.com
arch/x86/kernel/process_64.c