This is cleanup after initrd removal Signed-off-by: Askar Safin --- init/do_mounts.c | 2 +- init/do_mounts.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/init/do_mounts.c b/init/do_mounts.c index c722351c991f..7ec5ee5a5c19 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -381,7 +381,7 @@ static inline void mount_block_root(char *root_device_name) } #endif /* CONFIG_BLOCK */ -void __init mount_root(char *root_device_name) +static void __init mount_root(char *root_device_name) { switch (ROOT_DEV) { case Root_NFS: diff --git a/init/do_mounts.h b/init/do_mounts.h index f291c30f7407..90422fb07c02 100644 --- a/init/do_mounts.h +++ b/init/do_mounts.h @@ -12,7 +12,6 @@ #include #include -void mount_root(char *root_device_name); extern int root_mountflags; /* Ensure that async file closing finished to prevent spurious errors. */ -- 2.47.2