[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>
This commit is contained in:
parent
67608e0c80
commit
f979522052
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue