um: Mark setup_env_path as __init

It's only invoked during boot from main().

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20241128083137.2219830-7-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Tiwei Bie 2024-11-28 16:31:34 +08:00 committed by Johannes Berg
parent c2fdfd7797
commit 0c5258efd6

View file

@ -73,7 +73,7 @@ static void __init install_fatal_handler(int sig)
#define UML_LIB_PATH ":" OS_LIB_PATH "/uml"
static void setup_env_path(void)
static void __init setup_env_path(void)
{
char *new_path = NULL;
char *old_path = NULL;