init: remove unused names parameter in split_fs_names()
authorYihuan Pan <xun794@gmail.com>
Sat, 20 May 2023 07:23:32 +0000 (15:23 +0800)
committerChristian Brauner <brauner@kernel.org>
Mon, 5 Jun 2023 08:45:31 +0000 (10:45 +0200)
commit26e293f73fd76eeadfbad24d7d73481e211e5966
tree2c6f7bb0c5b04f960c0d82bfbe11f28da1a21d45
parent820eb59da8c7ca7e705a02f37dda2be316807847
init: remove unused names parameter in split_fs_names()

The split_fs_names() function takes a names parameter, but the function
actually uses the root_fs_names global variable instead. This names
parameter is not used in the function, so it can be safely removed.

This change does not affect the functionality of split_fs_names() or any
other part of the kernel.

Signed-off-by: Yihuan Pan <xun794@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Message-Id: <4lsiigvaw4lxcs37rlhgepv77xyxym6krkqcpc3xfncnswok3y@b67z3b44orar>
Signed-off-by: Christian Brauner <brauner@kernel.org>
init/do_mounts.c