* [PATCH 7/9] vt: delete unneeded function bind_con_driver
@ 2013-05-08 18:14 Wang YanQing
0 siblings, 0 replies; only message in thread
From: Wang YanQing @ 2013-05-08 18:14 UTC (permalink / raw)
To: gregkh; +Cc: jslaby, alan, airlied, linux-kernel
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>
---
drivers/tty/vt/vt.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
index 7e0953c..d5bfa86 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)
{
--
1.7.12.4.dirty
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-08 18:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-08 18:14 [PATCH 7/9] vt: delete unneeded function bind_con_driver Wang YanQing
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox