vl: remove unnecessary #ifdef CONFIG_TPM
a stub is now provided. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Richard W.M. Jones <rjones@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
		
							parent
							
								
									3fdde7e0ac
								
							
						
					
					
						commit
						2f0a115333
					
				
							
								
								
									
										2
									
								
								vl.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								vl.c
									
									
									
									
									
								
							@ -4624,11 +4624,9 @@ int main(int argc, char **argv, char **envp)
 | 
				
			|||||||
        exit(1);
 | 
					        exit(1);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef CONFIG_TPM
 | 
					 | 
				
			||||||
    if (tpm_init() < 0) {
 | 
					    if (tpm_init() < 0) {
 | 
				
			||||||
        exit(1);
 | 
					        exit(1);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* init the bluetooth world */
 | 
					    /* init the bluetooth world */
 | 
				
			||||||
    if (foreach_device_config(DEV_BT, bt_parse))
 | 
					    if (foreach_device_config(DEV_BT, bt_parse))
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user