aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <[email protected]>2023-01-30 20:28:24 +0000
committerMike Snitzer <[email protected]>2023-02-14 19:23:06 +0000
commit2f06cd12e11422e4a44ad4cb856c3ef0be9bd208 (patch)
treef617fefd025e8c91024fa149382106dbec21b7d0 /drivers/md/dm-raid.c
parentdm: enclose complex macros into parentheses where possible (diff)
downloadkernel-2f06cd12e11422e4a44ad4cb856c3ef0be9bd208.tar.gz
kernel-2f06cd12e11422e4a44ad4cb856c3ef0be9bd208.zip
dm: avoid initializing static variables
Signed-off-by: Heinz Mauelshagen <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/md/dm-raid.c')
-rw-r--r--drivers/md/dm-raid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c
index e4489f10aac2..2b2bf20e3ab3 100644
--- a/drivers/md/dm-raid.c
+++ b/drivers/md/dm-raid.c
@@ -30,7 +30,7 @@
*/
#define MIN_RAID456_JOURNAL_SPACE (4*2048)
-static bool devices_handle_discard_safely = false;
+static bool devices_handle_discard_safely;
/*
* The following flags are used by dm-raid.c to set up the array state.