Kconfig: remove sym_set_choice_value
sym_set_choice_value could be removed and directly call sym_set_tristate_value instead. Signed-off-by: Zeng Heng <zengheng4@huawei.com> Suggested-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
		
				
					committed by
					
						
						Masahiro Yamada
					
				
			
			
				
	
			
			
			
						parent
						
							f3304ecd7f
						
					
				
				
					commit
					efc8338e3a
				
			@@ -551,7 +551,7 @@ static int conf_choice(struct menu *menu)
 | 
			
		||||
			print_help(child);
 | 
			
		||||
			continue;
 | 
			
		||||
		}
 | 
			
		||||
		sym_set_choice_value(sym, child->sym);
 | 
			
		||||
		sym_set_tristate_value(child->sym, yes);
 | 
			
		||||
		for (child = child->list; child; child = child->next) {
 | 
			
		||||
			indent += 2;
 | 
			
		||||
			conf(child);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user