]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - util.c
A recent patch broke --create --level=faulty - fix it.
[thirdparty/mdadm.git] / util.c
diff --git a/util.c b/util.c
index 58449d52ff449ab5fcaf9e33d6b6a732446dfb52..f57613f533a993f4e72b9aeea6bbb52cc451eb8c 100644 (file)
--- a/util.c
+++ b/util.c
@@ -468,10 +468,6 @@ int nftw(const char *path, int (*han)(const char *name, const struct stat *stb,
        return ftw(path, add_dev_1, nopenfd);
 }
 #else
-int add_dev(const char *name, const struct stat *stb, int flag, struct FTW *s)
-{
-       return 0;
-}
 int nftw(const char *path, int (*han)(const char *name, const struct stat *stb, int flag, struct FTW *s), int nopenfd, int flags)
 {
        return 0;