summaryrefslogtreecommitdiff
path: root/init/do_mounts.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-06-07 16:18:59 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-16 15:34:47 +0200
commit4f5b246b37e024955c0fcca0c7f5952089052d1d (patch)
treea005ef9ca23012d565665c176e92f0e6f3047413 /init/do_mounts.h
parent881627f353754dd05a8f3e1c1941f0dbbf47a170 (diff)
md: move the early init autodetect code to drivers/md/
Just like the NFS and CIFS root code this better lives with the driver it is tightly integrated with. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Song Liu <song@kernel.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/do_mounts.h')
-rw-r--r--init/do_mounts.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/init/do_mounts.h b/init/do_mounts.h
index 7513d1c14d13..50d6c8941e15 100644
--- a/init/do_mounts.h
+++ b/init/do_mounts.h
@@ -41,13 +41,3 @@ bool __init initrd_load(void);
static inline bool initrd_load(void) { return false; }
#endif
-
-#ifdef CONFIG_BLK_DEV_MD
-
-void md_run_setup(void);
-
-#else
-
-static inline void md_run_setup(void) {}
-
-#endif