提交 e57f35d4 编写于 作者: W Wang YanQing 提交者: Greg Kroah-Hartman

fbcon: convert last fbcon_takeover call to do_fbcon_takeover

After commit 054430e7 (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: NWang YanQing <udknight@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 582f5590
......@@ -3543,8 +3543,9 @@ static void fbcon_start(void)
}
}
do_fbcon_takeover(0);
console_unlock();
fbcon_takeover(0);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册