tty_audit: make icanon a bool
authorJiri Slaby <jirislaby@kernel.org>
Wed, 21 Jun 2023 10:16:09 +0000 (12:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jun 2023 15:57:29 +0000 (17:57 +0200)
commit3e540a7bad8534a9b8845defa051834c9694d86c
treeda2afe684cb0c6038f2ca55a108b7d10cd686c06
parent94f94810efc4b4b337c9f2abc8b0188cef5ccb9b
tty_audit: make icanon a bool

Use bool for tty_audit_buf::icanon in favor of ugly bitfields. And get
rid of "!!" as that is completely unnecessary.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230621101611.10580-5-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_audit.c