diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2005-06-16 16:49:03 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:27 -0400 |
commit | 2e2849670a740128307a770dd8b5213c31081cf2 (patch) | |
tree | a56db6adab90db88037186a9e2f47ef2e9c70f51 /drivers/tc/zs.c | |
parent | 260c96738cf30f489108cd0fb3f10dcd11cbb5ca (diff) |
Remove left-over unused bits.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/tc/zs.c')
-rw-r--r-- | drivers/tc/zs.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/tc/zs.c b/drivers/tc/zs.c index a5dab1ac568c..0e302ae5924c 100644 --- a/drivers/tc/zs.c +++ b/drivers/tc/zs.c | |||
@@ -192,18 +192,6 @@ static void probe_sccs(void); | |||
192 | static void change_speed(struct dec_serial *info); | 192 | static void change_speed(struct dec_serial *info); |
193 | static void rs_wait_until_sent(struct tty_struct *tty, int timeout); | 193 | static void rs_wait_until_sent(struct tty_struct *tty, int timeout); |
194 | 194 | ||
195 | /* | ||
196 | * tmp_buf is used as a temporary buffer by serial_write. We need to | ||
197 | * lock it in case the copy_from_user blocks while swapping in a page, | ||
198 | * and some other program tries to do a serial write at the same time. | ||
199 | * Since the lock will only come under contention when the system is | ||
200 | * swapping and available memory is low, it makes sense to share one | ||
201 | * buffer across all the serial ports, since it significantly saves | ||
202 | * memory if large numbers of serial ports are open. | ||
203 | */ | ||
204 | static unsigned char tmp_buf[4096]; /* This is cheating */ | ||
205 | static DECLARE_MUTEX(tmp_buf_sem); | ||
206 | |||
207 | static inline int serial_paranoia_check(struct dec_serial *info, | 195 | static inline int serial_paranoia_check(struct dec_serial *info, |
208 | char *name, const char *routine) | 196 | char *name, const char *routine) |
209 | { | 197 | { |