diff options
author | Shaomin Deng <dengshaomin@cdjrlc.com> | 2022-08-27 12:26:31 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2022-09-19 23:10:07 +0200 |
commit | 193cb8372424184dde28088a4230a5fed0afb0ad (patch) | |
tree | d158ff78312184af8044e3f9d9f99183fd336683 | |
parent | 4dc5a328315a6acbb60e772fb4826d87626a793d (diff) | |
download | lwn-193cb8372424184dde28088a4230a5fed0afb0ad.tar.gz lwn-193cb8372424184dde28088a4230a5fed0afb0ad.zip |
uml: Remove the initialization of statics to 0
It is always unnecessary to initialise statics to 0.
Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r-- | arch/um/kernel/umid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/umid.c b/arch/um/kernel/umid.c index 8031a038eb58..72bc60ade347 100644 --- a/arch/um/kernel/umid.c +++ b/arch/um/kernel/umid.c @@ -9,7 +9,7 @@ #include <os.h> /* Changed by set_umid_arg */ -static int umid_inited = 0; +static int umid_inited; static int __init set_umid_arg(char *name, int *add) { |