summaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt
diff options
context:
space:
mode:
authorWang YanQing <udknight@gmail.com>2013-05-08 20:14:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-20 21:27:59 +0200
commit77d6c98454f0443f03ec690fb0ea25a26c01ddcb (patch)
tree7b964a4381148691fa89ad4995e7400d8b72d29f /drivers/tty/vt
parentvt: convert last bind_con_driver call to do_bind_con_driver (diff)
downloadlinux-77d6c98454f0443f03ec690fb0ea25a26c01ddcb.tar.xz
linux-77d6c98454f0443f03ec690fb0ea25a26c01ddcb.zip
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>
Diffstat (limited to 'drivers/tty/vt')
-rw-r--r--drivers/tty/vt/vt.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
index 7e0953cd3f3a..d5bfa869675b 100644
--- a/drivers/tty/vt/vt.c
+++ b/drivers/tty/vt/vt.c
@@ -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)
{