[Devel] [PATCH] pidspace rocket driver

sukadev at us.ibm.com sukadev at us.ibm.com
Thu Feb 22 15:31:41 PST 2007


From: Sukadev Bhattiprolu <sukadev at us.ibm.com>
Subject: [PATCH] pidspace rocket driver

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

Signed-off-by: Sukadev Bhattiprolu <sukadev at us.ibm.com>
Cc: Cedric Le Goater <clg at fr.ibm.com>
Cc: Dave Hansen <haveblue at us.ibm.com>
Cc: Serge Hallyn <serue at us.ibm.com>
Cc: containers at lists.osdl.org
---
 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
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers




More information about the Devel mailing list