summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Le Goater <clg@fr.ibm.com>2007-02-10 10:46:33 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 20:18:06 +0100
commit8cddd7076ab440906dcf2831e37a147484af80fc (patch)
tree3374508da9d59801761f0d566e4f016dfae1aec7
parent[PATCH] drivers/block/DAC960: convert 'boolean' to 'bool' (diff)
downloadlinux-8cddd7076ab440906dcf2831e37a147484af80fc.tar.xz
linux-8cddd7076ab440906dcf2831e37a147484af80fc.zip
[PATCH] mxser: remove useless fields
the session and pgrp fields in mxser_struct are unused. Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/char/mxser.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/char/mxser.c b/drivers/char/mxser.c
index df1e608b7ae6..a61fb6da5d03 100644
--- a/drivers/char/mxser.c
+++ b/drivers/char/mxser.c
@@ -321,8 +321,6 @@ struct mxser_struct {
unsigned long event;
int count; /* # of fd on device */
int blocked_open; /* # of blocked opens */
- long session; /* Session of opening process */
- long pgrp; /* pgrp of opening process */
unsigned char *xmit_buf;
int xmit_head;
int xmit_tail;
@@ -1001,15 +999,12 @@ static int mxser_open(struct tty_struct *tty, struct file *filp)
mxser_change_speed(info, NULL);
}
- info->session = process_session(current);
- info->pgrp = process_group(current);
-
/*
status = mxser_get_msr(info->base, 0, info->port);
mxser_check_modem_status(info, status);
*/
-/* unmark here for very high baud rate (ex. 921600 bps) used */
+ /* unmark here for very high baud rate (ex. 921600 bps) used */
tty->low_latency = 1;
return 0;
}