diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2003-06-11 07:40:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-06-11 07:40:51 -0700 |
| commit | a689e686b140e6e89656e91ef058d5b82e73d641 (patch) | |
| tree | 076414269194efcdf2a270b30b4447db390a2ab3 /drivers/sgi | |
| parent | 4b19f739f33fea1e5d63424072dbaf0fa949274f (diff) | |
[PATCH] tty_driver refcounting
->refcount switched from int * to int. Per-driver variables gone since we had
switched from int foo = 0; driver.refcount = &foo; to driver.refcount = 0;
Diffstat (limited to 'drivers/sgi')
| -rw-r--r-- | drivers/sgi/char/sgiserial.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/sgi/char/sgiserial.c b/drivers/sgi/char/sgiserial.c index 7ff8a706b19a..46c861ef9544 100644 --- a/drivers/sgi/char/sgiserial.c +++ b/drivers/sgi/char/sgiserial.c @@ -99,7 +99,6 @@ DECLARE_TASK_QUEUE(tq_serial); struct tty_driver serial_driver; struct console *sgisercon; -static int serial_refcount; /* serial subtype definitions */ #define SERIAL_TYPE_NORMAL 1 @@ -1841,7 +1840,6 @@ int rs_init(void) serial_driver.init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL; serial_driver.flags = TTY_DRIVER_REAL_RAW; - serial_driver.refcount = &serial_refcount; serial_driver.table = serial_table; serial_driver.termios = serial_termios; serial_driver.termios_locked = serial_termios_locked; |
