diff options
author | Wang YanQing <udknight@gmail.com> | 2013-05-08 14:13:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-20 15:27:58 -0400 |
commit | dc9641895abb30aa456918a433a52e13fa0f56b1 (patch) | |
tree | 2535b2949e9a990d8910f641a468302b6b586b13 /include/linux/console.h | |
parent | 7c80591c6032fc92ae16be2d6876a1b1ad20485e (diff) |
vt: delete unneeded functions register_con_driver|take_over_console
Now there is no place use register_con_driver|take_over_console,
and we can achieve their function with do_register_con_driver|
do_take_over_console easily, so just delete them to reduce code duplication.
Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/console.h')
-rw-r--r-- | include/linux/console.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/console.h b/include/linux/console.h index 73bab0f58af5..8f9bd966dbc6 100644 --- a/include/linux/console.h +++ b/include/linux/console.h | |||
@@ -75,10 +75,8 @@ extern const struct consw newport_con; /* SGI Newport console */ | |||
75 | extern const struct consw prom_con; /* SPARC PROM console */ | 75 | extern const struct consw prom_con; /* SPARC PROM console */ |
76 | 76 | ||
77 | int con_is_bound(const struct consw *csw); | 77 | int con_is_bound(const struct consw *csw); |
78 | int register_con_driver(const struct consw *csw, int first, int last); | ||
79 | int unregister_con_driver(const struct consw *csw); | 78 | int unregister_con_driver(const struct consw *csw); |
80 | int do_unregister_con_driver(const struct consw *csw); | 79 | int do_unregister_con_driver(const struct consw *csw); |
81 | int take_over_console(const struct consw *sw, int first, int last, int deflt); | ||
82 | int do_take_over_console(const struct consw *sw, int first, int last, int deflt); | 80 | int do_take_over_console(const struct consw *sw, int first, int last, int deflt); |
83 | void give_up_console(const struct consw *sw); | 81 | void give_up_console(const struct consw *sw); |
84 | #ifdef CONFIG_HW_CONSOLE | 82 | #ifdef CONFIG_HW_CONSOLE |