diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2023-01-30 21:28:24 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-02-14 14:23:06 -0500 |
commit | 2f06cd12e11422e4a44ad4cb856c3ef0be9bd208 (patch) | |
tree | f617fefd025e8c91024fa149382106dbec21b7d0 /drivers/md/dm-bufio.c | |
parent | 44bc08ed63db7a852bd1ba16611b700ee666091c (diff) | |
download | lwn-2f06cd12e11422e4a44ad4cb856c3ef0be9bd208.tar.gz lwn-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.c | 2 |
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 |