diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c index 9ac9944aa2c7cbf59add125b6633990d1c3577be..8d2c5496532b942899ad6201665431f6f5aceccc 100644 --- a/arch/um/kernel/process.c +++ b/arch/um/kernel/process.c @@ -97,8 +97,6 @@ int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags) current->thread.request.u.thread.arg = arg; pid = do_fork(CLONE_VM | CLONE_UNTRACED | flags, 0, ¤t->thread.regs, 0, NULL, NULL); - if(pid < 0) - panic("do_fork failed in kernel_thread, errno = %d", pid); return pid; }