]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/kernel/exec.c
uml: remove the dead TTY_LOG code
[linux-2.6-omap-h63xx.git] / arch / um / kernel / exec.c
index f5d7f4569ba726f51fc92ef1b3b7e0ccdcb4e230..598711c62c82cbb59ce79193eaa67e70d45b48e3 100644 (file)
@@ -42,23 +42,11 @@ void start_thread(struct pt_regs *regs, unsigned long eip, unsigned long esp)
        PT_REGS_SP(regs) = esp;
 }
 
-#ifdef CONFIG_TTY_LOG
-extern void log_exec(char **argv, void *tty);
-#endif
-
 static long execve1(char *file, char __user * __user *argv,
                    char __user *__user *env)
 {
        long error;
-#ifdef CONFIG_TTY_LOG
-       struct tty_struct *tty;
 
-       mutex_lock(&tty_mutex);
-       tty = get_current_tty();
-       if (tty)
-               log_exec(argv, tty);
-       mutex_unlock(&tty_mutex);
-#endif
        error = do_execve(file, argv, env, &current->thread.regs);
        if (error == 0) {
                task_lock(current);