From: Sukadev Bhattiprolu <[EMAIL PROTECTED]>
Subject: [PATCH] pidspace rocket driver

The process_session() and process_group() values are not really
used by the driver.

Signed-off-by: Sukadev Bhattiprolu <[EMAIL PROTECTED]>
Cc: Cedric Le Goater <[EMAIL PROTECTED]>
Cc: Dave Hansen <[EMAIL PROTECTED]>
Cc: Serge Hallyn <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
---
 drivers/char/rocket.c     |    3 ---
 drivers/char/rocket_int.h |    2 --
 2 files changed, 5 deletions(-)

Index: lx26-20-mm1/drivers/char/rocket.c
===================================================================
--- lx26-20-mm1.orig/drivers/char/rocket.c      2007-02-16 14:32:40.000000000 
-0800
+++ lx26-20-mm1/drivers/char/rocket.c   2007-02-16 15:42:42.000000000 -0800
@@ -1018,9 +1018,6 @@ static int rp_open(struct tty_struct *tt
        /*
         * Info->count is now 1; so it's safe to sleep now.
         */
-       info->session = process_session(current);
-       info->pgrp = process_group(current);
-
        if ((info->flags & ROCKET_INITIALIZED) == 0) {
                cp = &info->channel;
                sSetRxTrigger(cp, TRIG_1);
Index: lx26-20-mm1/drivers/char/rocket_int.h
===================================================================
--- lx26-20-mm1.orig/drivers/char/rocket_int.h  2007-02-04 10:44:54.000000000 
-0800
+++ lx26-20-mm1/drivers/char/rocket_int.h       2007-02-16 15:42:42.000000000 
-0800
@@ -1156,8 +1156,6 @@ struct r_port {
        int xmit_head;
        int xmit_tail;
        int xmit_cnt;
-       int session;
-       int pgrp;
        int cd_status;
        int ignore_status_mask;
        int read_status_mask;
_______________________________________________
Containers mailing list
[EMAIL PROTECTED]
https://lists.osdl.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
Devel@openvz.org
https://openvz.org/mailman/listinfo/devel

Reply via email to