summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-bufio.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2023-01-30 21:28:24 +0100
committerMike Snitzer <snitzer@kernel.org>2023-02-14 14:23:06 -0500
commit2f06cd12e11422e4a44ad4cb856c3ef0be9bd208 (patch)
treef617fefd025e8c91024fa149382106dbec21b7d0 /drivers/md/dm-bufio.c
parent44bc08ed63db7a852bd1ba16611b700ee666091c (diff)
downloadlinux-stable-2f06cd12e11422e4a44ad4cb856c3ef0be9bd208.tar.gz
linux-stable-2f06cd12e11422e4a44ad4cb856c3ef0be9bd208.tar.bz2
linux-stable-2f06cd12e11422e4a44ad4cb856c3ef0be9bd208.zip
dm: avoid initializing static variables
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-bufio.c')
-rw-r--r--drivers/md/dm-bufio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-bufio.c b/drivers/md/dm-bufio.c
index 811ce990e72f..089a7892bd5d 100644
--- a/drivers/md/dm-bufio.c
+++ b/drivers/md/dm-bufio.c
@@ -216,7 +216,7 @@ static DEFINE_SPINLOCK(global_spinlock);
static LIST_HEAD(global_queue);
-static unsigned long global_num = 0;
+static unsigned long global_num;
/*
* Buffers are freed after this timeout