]> git.baikalelectronics.ru Git - kernel.git/commit
n_hdlc: switch tbusy and woke_up to bools
authorJiri Slaby <jslaby@suse.cz>
Wed, 19 Feb 2020 08:41:11 +0000 (09:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2020 09:24:33 +0000 (10:24 +0100)
commit34674a0b65a3a0fd5e2dcb4217562be315eb7291
tree2e673e9bf31b357a004be7a1a7c36ba72ee30220
parentbd7c386dbd91c0c6c4ad42659cedf9e8489266db
n_hdlc: switch tbusy and woke_up to bools

They are in fact bools, so save some bytes (8B on x86_64). Also describe
@woke_up as we know what it is.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200219084118.26491-17-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_hdlc.c