mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 16:44:27 +08:00
vt: delete unneeded function bind_con_driver
Now there is no place use bind_con_driver, and do_bind_con_driver can achieve bind_con_driver's function easily, so just delete it 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:
parent
c62a1e57e4
commit
77d6c98454
@ -3088,17 +3088,6 @@ err:
|
||||
};
|
||||
|
||||
|
||||
static int bind_con_driver(const struct consw *csw, int first, int last,
|
||||
int deflt)
|
||||
{
|
||||
int ret;
|
||||
|
||||
console_lock();
|
||||
ret = do_bind_con_driver(csw, first, last, deflt);
|
||||
console_unlock();
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_VT_HW_CONSOLE_BINDING
|
||||
static int con_is_graphics(const struct consw *csw, int first, int last)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user