Parcourir la source

[PATCH] uml: Kill a compilation warning

Kill a compilation warning.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Jeff Dike il y a 18 ans
Parent
commit
f979522052
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      arch/um/kernel/exec.c

+ 1 - 1
arch/um/kernel/exec.c

@@ -39,9 +39,9 @@ static long execve1(char *file, char __user * __user *argv,
 		    char __user *__user *env)
 		    char __user *__user *env)
 {
 {
         long error;
         long error;
+#ifdef CONFIG_TTY_LOG
 	struct tty_struct *tty;
 	struct tty_struct *tty;
 
 
-#ifdef CONFIG_TTY_LOG
 	mutex_lock(&tty_mutex);
 	mutex_lock(&tty_mutex);
 	tty = get_current_tty();
 	tty = get_current_tty();
 	if (tty)
 	if (tty)