tty: tty_buffer: initialize variables in initializers already
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 16 Aug 2023 10:55:29 +0000 (12:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Aug 2023 12:58:16 +0000 (14:58 +0200)
commit035197c908b57804b9407cf119d2c2fe5934ee00
tree068c6f66e9b1635cffa8c9259aaba01200f8fee8
parent64365743b366ae756d4e9c16a0b639960f417493
tty: tty_buffer: initialize variables in initializers already

It makes the code both more compact, and more understandable.

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