From: Jeff Dike Date: Sat, 10 Feb 2007 09:44:03 +0000 (-0800) Subject: [PATCH] uml: Kill a compilation warning X-Git-Tag: v2.6.21-rc1~274^2~418 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f9795220521e0575dfd4ed0737d3a7848264662c;p=linux-2.6-omap-h63xx.git [PATCH] uml: Kill a compilation warning Kill a compilation warning. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index 8d56ec6cca7..121166400e2 100644 --- a/arch/um/kernel/exec.c +++ b/arch/um/kernel/exec.c @@ -39,9 +39,9 @@ static long execve1(char *file, char __user * __user *argv, char __user *__user *env) { long error; +#ifdef CONFIG_TTY_LOG struct tty_struct *tty; -#ifdef CONFIG_TTY_LOG mutex_lock(&tty_mutex); tty = get_current_tty(); if (tty)