diff options
author | Xin Gao <gaoxin@cdjrlc.com> | 2022-07-21 03:24:51 +0800 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2022-09-19 23:10:07 +0200 |
commit | 4dc5a328315a6acbb60e772fb4826d87626a793d (patch) | |
tree | d6f3a8c3f165300367bcc2b77b2f99ccd0541f68 /arch/um/drivers/mconsole_kern.c | |
parent | 3848d470cb881b7954a4a563bf73ffeb9cf4f30e (diff) | |
download | lwn-4dc5a328315a6acbb60e772fb4826d87626a793d.tar.gz lwn-4dc5a328315a6acbb60e772fb4826d87626a793d.zip |
um: Do not initialise statics to 0.
do not initialise statics to 0.
Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/mconsole_kern.c')
-rw-r--r-- | arch/um/drivers/mconsole_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index 69af3ce8407a..5026e7b9adfe 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c @@ -283,7 +283,7 @@ struct unplugged_pages { }; static DEFINE_MUTEX(plug_mem_mutex); -static unsigned long long unplugged_pages_count = 0; +static unsigned long long unplugged_pages_count; static LIST_HEAD(unplugged_pages); static int unplug_index = UNPLUGGED_PER_PAGE; |