aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/mconsole_kern.c
diff options
context:
space:
mode:
authorXin Gao <gaoxin@cdjrlc.com>2022-07-21 03:24:51 +0800
committerRichard Weinberger <richard@nod.at>2022-09-19 23:10:07 +0200
commit4dc5a328315a6acbb60e772fb4826d87626a793d (patch)
treed6f3a8c3f165300367bcc2b77b2f99ccd0541f68 /arch/um/drivers/mconsole_kern.c
parent3848d470cb881b7954a4a563bf73ffeb9cf4f30e (diff)
downloadlinux-4dc5a328315a6acbb60e772fb4826d87626a793d.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c
index 69af3ce8407af1..5026e7b9adfe54 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;