[Devel] [PATCH] c/r: Remove unused CKPT_PTMX_PATH

Matt Helsley matthltc at us.ibm.com
Wed Aug 25 15:59:41 PDT 2010


This #define appears to be unused. It was introduced in:

	commit 24004a943fbd66b0ec9dbcfae9d057acc96fda29
	c/r: [pty 2/2] support for pseudo terminals

Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
---
 drivers/char/tty_io.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index 115c8e4..0da945d 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -3042,8 +3042,6 @@ static int restore_tty_ldisc(struct ckpt_ctx *ctx,
 	return 0;
 }
 
-#define CKPT_PTMX_PATH  "/dev/ptmx"
-
 static struct tty_struct *do_restore_tty(struct ckpt_ctx *ctx)
 {
 	struct ckpt_hdr_tty *h;
-- 
1.6.3.3

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list