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

Xin Gao gaoxin at cdjrlc.com
Wed Jul 20 12:24:51 PDT 2022


do not initialise statics to 0.

Signed-off-by: Xin Gao <gaoxin at cdjrlc.com>
---
 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




More information about the linux-um mailing list