The InstallAcpiTable() helper function buys us nothing. Reduce code complexity by removing the function. This patch is best viewed with "git show -b". Cc: Anthony Perard <anthony.perard@citrix.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Julien Grall <julien@xen.org> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20210526201446.12554-16-lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
		
			
				
	
	
		
			29 lines
		
	
	
		
			549 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			549 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /** @file
 | |
|   OVMF ACPI Platform Driver for Xen guests
 | |
| 
 | |
|   Copyright (C) 2021, Red Hat, Inc.
 | |
|   Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
 | |
|   SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| 
 | |
| **/
 | |
| 
 | |
| #ifndef ACPI_PLATFORM_H_
 | |
| #define ACPI_PLATFORM_H_
 | |
| 
 | |
| #include <Protocol/AcpiTable.h> // EFI_ACPI_TABLE_PROTOCOL
 | |
| 
 | |
| EFI_STATUS
 | |
| EFIAPI
 | |
| InstallXenTables (
 | |
|   IN   EFI_ACPI_TABLE_PROTOCOL       *AcpiProtocol
 | |
|   );
 | |
| 
 | |
| EFI_STATUS
 | |
| EFIAPI
 | |
| InstallAcpiTables (
 | |
|   IN   EFI_ACPI_TABLE_PROTOCOL       *AcpiTable
 | |
|   );
 | |
| 
 | |
| #endif
 | |
| 
 |