summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/ssl.c
diff options
context:
space:
mode:
authorXin Gao <gaoxin@cdjrlc.com>2022-07-20 21:24:51 +0200
committerRichard Weinberger <richard@nod.at>2022-09-19 23:10:07 +0200
commit4dc5a328315a6acbb60e772fb4826d87626a793d (patch)
treed6f3a8c3f165300367bcc2b77b2f99ccd0541f68 /arch/um/drivers/ssl.c
parentum: Fix comment typo (diff)
downloadlinux-4dc5a328315a6acbb60e772fb4826d87626a793d.tar.xz
linux-4dc5a328315a6acbb60e772fb4826d87626a793d.zip
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/ssl.c')
-rw-r--r--arch/um/drivers/ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/ssl.c b/arch/um/drivers/ssl.c
index 8514966778d5..277cea3d30eb 100644
--- a/arch/um/drivers/ssl.c
+++ b/arch/um/drivers/ssl.c
@@ -106,7 +106,7 @@ static const struct tty_operations ssl_ops = {
/* Changed by ssl_init and referenced by ssl_exit, which are both serialized
* by being an initcall and exitcall, respectively.
*/
-static int ssl_init_done = 0;
+static int ssl_init_done;
static void ssl_console_write(struct console *c, const char *string,
unsigned len)