summaryrefslogtreecommitdiffstats
path: root/drivers/misc/pti.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-03-05 14:51:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 11:30:21 -0800
commit87cab16beb882d3f9e61a2c0184fa7cf76de1f90 (patch)
tree166a09ff5613f9f21e433348c743198374361abc /drivers/misc/pti.c
parent1a54a76d5171f3ffd89eb69f6f38d535724e3d05 (diff)
downloadop-kernel-dev-87cab16beb882d3f9e61a2c0184fa7cf76de1f90.zip
op-kernel-dev-87cab16beb882d3f9e61a2c0184fa7cf76de1f90.tar.gz
TTY: remove minor_num from tty_driver
It was added back in 2004 and never used for anything real. Remove the only assignment in the tree as well. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/pti.c')
-rw-r--r--drivers/misc/pti.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/pti.c b/drivers/misc/pti.c
index 471ff4c..9a35db3 100644
--- a/drivers/misc/pti.c
+++ b/drivers/misc/pti.c
@@ -920,7 +920,6 @@ static int __init pti_init(void)
pti_tty_driver->name = TTYNAME;
pti_tty_driver->major = 0;
pti_tty_driver->minor_start = PTITTY_MINOR_START;
- pti_tty_driver->minor_num = PTITTY_MINOR_NUM;
pti_tty_driver->num = PTITTY_MINOR_NUM;
pti_tty_driver->type = TTY_DRIVER_TYPE_SYSTEM;
pti_tty_driver->subtype = SYSTEM_TYPE_SYSCONS;
OpenPOWER on IntegriCloud