Commit 4fd669fc authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

tty: Drop TTY_SUBTYPE_SLAVE from /dev/console and /dev/tty

They are confusing code readers. Lets save these @subtypes
for Unix98 pty peers where they are really important.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 79ca3eec
......@@ -182,7 +182,6 @@ static int open_simple_tty(struct tty_info *info);
static struct tty_driver console_driver = {
.type = TTY_TYPE__CONSOLE,
.subtype = TTY_SUBTYPE_SLAVE,
.name = "console",
.index = CONSOLE_INDEX,
.open = open_simple_tty,
......@@ -190,7 +189,6 @@ static struct tty_driver console_driver = {
static struct tty_driver ctty_driver = {
.type = TTY_TYPE__CTTY,
.subtype = TTY_SUBTYPE_SLAVE,
.name = "ctty",
.index = CTTY_INDEX,
.open = open_simple_tty,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment