Commit 8cddd7076ab440906dcf2831e37a147484af80fc
Committed by
Linus Torvalds
1 parent
87d156bfd5
Exists in
master
and in
7 other branches
[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>
Showing 1 changed file with 1 additions and 6 deletions Side-by-side Diff
drivers/char/mxser.c
... | ... | @@ -321,8 +321,6 @@ |
321 | 321 | unsigned long event; |
322 | 322 | int count; /* # of fd on device */ |
323 | 323 | int blocked_open; /* # of blocked opens */ |
324 | - long session; /* Session of opening process */ | |
325 | - long pgrp; /* pgrp of opening process */ | |
326 | 324 | unsigned char *xmit_buf; |
327 | 325 | int xmit_head; |
328 | 326 | int xmit_tail; |
329 | 327 | |
... | ... | @@ -1001,15 +999,12 @@ |
1001 | 999 | mxser_change_speed(info, NULL); |
1002 | 1000 | } |
1003 | 1001 | |
1004 | - info->session = process_session(current); | |
1005 | - info->pgrp = process_group(current); | |
1006 | - | |
1007 | 1002 | /* |
1008 | 1003 | status = mxser_get_msr(info->base, 0, info->port); |
1009 | 1004 | mxser_check_modem_status(info, status); |
1010 | 1005 | */ |
1011 | 1006 | |
1012 | -/* unmark here for very high baud rate (ex. 921600 bps) used */ | |
1007 | + /* unmark here for very high baud rate (ex. 921600 bps) used */ | |
1013 | 1008 | tty->low_latency = 1; |
1014 | 1009 | return 0; |
1015 | 1010 | } |