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 <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-02-05 13:39:30 +08:00 committed by Alan Carvalho de Assis
parent e3fed03e43
commit 3ec208fdbc
1 changed files with 0 additions and 1 deletions

View File

@ -1087,7 +1087,6 @@ int pty_register(int minor)
devpair->pp_master.pd_master = true; devpair->pp_master.pd_master = true;
devpair->pp_slave.pd_devpair = devpair; devpair->pp_slave.pd_devpair = devpair;
#ifdef CONFIG_SERIAL_TERMIOS #ifdef CONFIG_SERIAL_TERMIOS
devpair->pp_slave.pd_iflag = ISIG;
devpair->pp_slave.pd_oflag = OPOST | ONLCR; devpair->pp_slave.pd_oflag = OPOST | ONLCR;
#endif #endif