fbcon: convert last fbcon_takeover call to do_fbcon_takeover

After commit 054430e773 (fbcon: fix locking harder),
there is only one place use do_fbcon_takeover now, this patch
convert it to do_fbcon_takeover too, then we can delete
fbcon_takeover whos function can be achieved with do_fbcon_takeover
easily to reduce code size and duplication.

Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Wang YanQing 2013-05-09 02:13:30 +08:00 committed by Greg Kroah-Hartman
parent 582f55907d
commit e57f35d45f
1 changed files with 2 additions and 1 deletions

View File

@ -3543,8 +3543,9 @@ static void fbcon_start(void)
}
}
do_fbcon_takeover(0);
console_unlock();
fbcon_takeover(0);
}
}