[PATCH] um:do not initialise statics to 0.

From: Xin Gao
Date: Wed Jul 20 2022 - 15:25:49 EST


do not initialise statics to 0.

Signed-off-by: Xin Gao <gaoxin@xxxxxxxxxx>
---
arch/um/drivers/ssl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/um/drivers/ssl.c b/arch/um/drivers/ssl.c
index 41eae2e8fb65..891e9c83d407 100644
--- a/arch/um/drivers/ssl.c
+++ b/arch/um/drivers/ssl.c
@@ -108,7 +108,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)
--
2.30.2