--- compat/linux/linux_emul.c.orig +++ compat/linux/linux_emul.c @@ -248,9 +248,6 @@ { struct linux_emuldata *em; int error = 0; -#ifdef DEBUG - struct thread *td = FIRST_THREAD_IN_PROC(p); -#endif int *child_set_tid; if (p->p_sysent != &elf_linux_sysvec)