From 3ec208fdbcd7dc6408b035f5d590704724e93dd9 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sat, 5 Feb 2022 13:39:30 +0800 Subject: [PATCH] serial/pty: Don't initialize pd_iflag to ISIG since ISIG belong local mode flags not input mode flags, but local mode isn't implemented by pty driver yet. Signed-off-by: Xiang Xiao --- drivers/serial/pty.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/serial/pty.c b/drivers/serial/pty.c index 35188ef28c..6d1bd5bfc4 100644 --- a/drivers/serial/pty.c +++ b/drivers/serial/pty.c @@ -1087,7 +1087,6 @@ int pty_register(int minor) devpair->pp_master.pd_master = true; devpair->pp_slave.pd_devpair = devpair; #ifdef CONFIG_SERIAL_TERMIOS - devpair->pp_slave.pd_iflag = ISIG; devpair->pp_slave.pd_oflag = OPOST | ONLCR; #endif