summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent1a54a76d5171f3ffd89eb69f6f38d535724e3d05 (diff)
downloadlinux-87cab16beb882d3f9e61a2c0184fa7cf76de1f90.tar.gz
linux-87cab16beb882d3f9e61a2c0184fa7cf76de1f90.tar.bz2
linux-87cab16beb882d3f9e61a2c0184fa7cf76de1f90.zip
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 'include')
-rw-r--r--include/linux/tty_driver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h
index 6e65493a5e6c..e064f1704e20 100644
--- a/include/linux/tty_driver.h
+++ b/include/linux/tty_driver.h
@@ -299,7 +299,6 @@ struct tty_driver {
int name_base; /* offset of printed name */
int major; /* major device number */
int minor_start; /* start of minor device number */
- int minor_num; /* number of *possible* devices */
int num; /* number of devices allocated */
short type; /* type of tty driver */
short subtype; /* subtype of tty driver */