um: Drop NULL check from start_userspace
authorBenjamin Berg <benjamin@sipsolutions.net>
Fri, 10 Nov 2023 11:03:39 +0000 (12:03 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 4 Jan 2024 22:31:05 +0000 (23:31 +0100)
commit571353379470f1d0aaad3cce4ad4db4b6c8f9ada
tree03a5f8ba07a84337fd7dc8c5d4ce5ce8c12f821c
parenta55719847da0a780baa84d0baee745358f144c39
um: Drop NULL check from start_userspace

start_userspace is only called from exactly one location, and the passed
pointer for the userspace process stack cannot be NULL.

Remove the check, without changing the control flow.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/skas/process.c