]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - util.c
imsm: Do not require MDADM_EXPERIMENTAL flag anymore
[thirdparty/mdadm.git] / util.c
diff --git a/util.c b/util.c
index 4adbbff0295e30c984f59b5c5a5c4bfe024e1d60..c26cf5f3f78b41662d988025a13ecc24a0ba54b2 100644 (file)
--- a/util.c
+++ b/util.c
@@ -2149,16 +2149,6 @@ void append_metadata_update(struct supertype *st, void *buf, int len)
 unsigned int __invalid_size_argument_for_IOC = 0;
 #endif
 
-int experimental(void)
-{
-       if (check_env("MDADM_EXPERIMENTAL"))
-               return 1;
-       else {
-               pr_err("To use this feature MDADM_EXPERIMENTAL environment variable has to be defined.\n");
-               return 0;
-       }
-}
-
 /* Pick all spares matching given criteria from a container
  * if min_size == 0 do not check size
  * if domlist == NULL do not check domains