mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
535b3e05f4
commit
b5f1a52a59
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue