diff options
| -rw-r--r-- | arch/um/kernel/process.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c index 13d461712c99..0a9249b2b86b 100644 --- a/arch/um/kernel/process.c +++ b/arch/um/kernel/process.c @@ -187,11 +187,7 @@ int copy_thread(struct task_struct * p, const struct kernel_clone_args *args) void initial_thread_cb(void (*proc)(void *), void *arg) { - int save_kmalloc_ok = kmalloc_ok; - - kmalloc_ok = 0; initial_thread_cb_skas(proc, arg); - kmalloc_ok = save_kmalloc_ok; } int arch_dup_task_struct(struct task_struct *dst, |
