diff options
author | Sukadev Bhattiprolu <sukadev@us.ibm.com> | 2007-05-11 01:23:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-11 11:29:36 -0400 |
commit | 93ba0881176ace057bc3111c8bdd717a23cb75ed (patch) | |
tree | 2eb4af6d80aeccc84da0a6fa4f9a6785ec334cea /drivers/char/rocket.c | |
parent | 0800d30832ddecf2d9dc40068fed9df95930a8f1 (diff) |
Kill unused sesssion and group values in rocket driver
The process_session() and process_group() values are not really used by the
driver.
Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: <containers@lists.osdl.org>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/rocket.c')
-rw-r--r-- | drivers/char/rocket.c | 3 |
1 files changed, 0 insertions, 3 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); |