diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-04-05 20:33:53 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-08 03:16:58 +0900 |
commit | b5f1a52a59eb810f68c96d1cea7cf1256c39956c (patch) | |
tree | 7a8e3d6eafbfdb49925b9a704d153813c4b29b95 /scripts/mod/modpost.c | |
parent | 535b3e05f435698f8f661d9e6449beb5791fff59 (diff) | |
download | linux-rpi-b5f1a52a59eb810f68c96d1cea7cf1256c39956c.tar.gz linux-rpi-b5f1a52a59eb810f68c96d1cea7cf1256c39956c.tar.bz2 linux-rpi-b5f1a52a59eb810f68c96d1cea7cf1256c39956c.zip |
modpost: remove redundant initializes for static variables
These are initialized with zeros without explicit initializers.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r-- | scripts/mod/modpost.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index f9e54247ae1d..2a202764ff48 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -23,15 +23,15 @@ #include "../../include/linux/license.h" /* Are we using CONFIG_MODVERSIONS? */ -static int modversions = 0; +static int modversions; /* Is CONFIG_MODULE_SRCVERSION_ALL set? */ -static int all_versions = 0; +static int all_versions; /* If we are modposting external module set to 1 */ -static int external_module = 0; +static int external_module; /* Only warn about unresolved symbols */ -static int warn_unresolved = 0; +static int warn_unresolved; /* How a symbol is exported */ -static int sec_mismatch_count = 0; +static int sec_mismatch_count; static int sec_mismatch_warn_only = true; /* ignore missing files */ static int ignore_missing_files; |