diff options
author | Xin Gao <gaoxin@cdjrlc.com> | 2022-07-21 03:24:51 +0800 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2022-09-19 23:10:07 +0200 |
commit | 4dc5a328315a6acbb60e772fb4826d87626a793d (patch) | |
tree | d6f3a8c3f165300367bcc2b77b2f99ccd0541f68 /arch/um/drivers/stdio_console.c | |
parent | 3848d470cb881b7954a4a563bf73ffeb9cf4f30e (diff) | |
download | linux-4dc5a328315a6acbb60e772fb4826d87626a793d.tar.bz2 |
um: Do not initialise statics to 0.
do not initialise statics to 0.
Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/stdio_console.c')
-rw-r--r-- | arch/um/drivers/stdio_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c index 489d5a746ed3..1c239737d88e 100644 --- a/arch/um/drivers/stdio_console.c +++ b/arch/um/drivers/stdio_console.c @@ -88,7 +88,7 @@ static int con_remove(int n, char **error_out) } /* Set in an initcall, checked in an exitcall */ -static int con_init_done = 0; +static int con_init_done; static int con_install(struct tty_driver *driver, struct tty_struct *tty) { |