mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	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:
		
							parent
							
								
									c2fdfd7797
								
							
						
					
					
						commit
						0c5258efd6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -73,7 +73,7 @@ static void __init install_fatal_handler(int sig)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define UML_LIB_PATH	":" OS_LIB_PATH "/uml"
 | 
					#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 *new_path = NULL;
 | 
				
			||||||
	char *old_path = NULL;
 | 
						char *old_path = NULL;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue