diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/rocket.c | 3 | ||||
-rw-r--r-- | drivers/char/rocket_int.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c index 61a63da420c2..a3fd7e7ba5a9 100644 --- a/drivers/char/rocket.c +++ b/drivers/char/rocket.c | |||
@@ -1014,9 +1014,6 @@ static int rp_open(struct tty_struct *tty, struct file *filp) | |||
1014 | /* | 1014 | /* |
1015 | * Info->count is now 1; so it's safe to sleep now. | 1015 | * Info->count is now 1; so it's safe to sleep now. |
1016 | */ | 1016 | */ |
1017 | info->session = process_session(current); | ||
1018 | info->pgrp = process_group(current); | ||
1019 | |||
1020 | if ((info->flags & ROCKET_INITIALIZED) == 0) { | 1017 | if ((info->flags & ROCKET_INITIALIZED) == 0) { |
1021 | cp = &info->channel; | 1018 | cp = &info->channel; |
1022 | sSetRxTrigger(cp, TRIG_1); | 1019 | sSetRxTrigger(cp, TRIG_1); |
diff --git a/drivers/char/rocket_int.h b/drivers/char/rocket_int.h index 89b4d7b10d12..b4c53dfa7951 100644 --- a/drivers/char/rocket_int.h +++ b/drivers/char/rocket_int.h | |||
@@ -1158,8 +1158,6 @@ struct r_port { | |||
1158 | int xmit_head; | 1158 | int xmit_head; |
1159 | int xmit_tail; | 1159 | int xmit_tail; |
1160 | int xmit_cnt; | 1160 | int xmit_cnt; |
1161 | int session; | ||
1162 | int pgrp; | ||
1163 | int cd_status; | 1161 | int cd_status; |
1164 | int ignore_status_mask; | 1162 | int ignore_status_mask; |
1165 | int read_status_mask; | 1163 | int read_status_mask; |