mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
hw/acpi: remove unused function acpi_table_add_builtin()
Function acpi_table_add_builtin() is not used anymore. Remove the definition and declaration. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20190214084939.20640-3-richardw.yang@linux.intel.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
49e5ef07d7
commit
120fc4eb94
2 changed files with 0 additions and 7 deletions
|
@ -309,12 +309,6 @@ out:
|
||||||
|
|
||||||
static bool acpi_table_builtin = false;
|
static bool acpi_table_builtin = false;
|
||||||
|
|
||||||
void acpi_table_add_builtin(const QemuOpts *opts, Error **errp)
|
|
||||||
{
|
|
||||||
acpi_table_builtin = true;
|
|
||||||
acpi_table_add(opts, errp);
|
|
||||||
}
|
|
||||||
|
|
||||||
unsigned acpi_table_len(void *current)
|
unsigned acpi_table_len(void *current)
|
||||||
{
|
{
|
||||||
struct acpi_table_header *hdr = current - sizeof(hdr->_length);
|
struct acpi_table_header *hdr = current - sizeof(hdr->_length);
|
||||||
|
|
|
@ -190,7 +190,6 @@ uint8_t *acpi_table_first(void);
|
||||||
uint8_t *acpi_table_next(uint8_t *current);
|
uint8_t *acpi_table_next(uint8_t *current);
|
||||||
unsigned acpi_table_len(void *current);
|
unsigned acpi_table_len(void *current);
|
||||||
void acpi_table_add(const QemuOpts *opts, Error **errp);
|
void acpi_table_add(const QemuOpts *opts, Error **errp);
|
||||||
void acpi_table_add_builtin(const QemuOpts *opts, Error **errp);
|
|
||||||
|
|
||||||
typedef struct AcpiSlicOem AcpiSlicOem;
|
typedef struct AcpiSlicOem AcpiSlicOem;
|
||||||
struct AcpiSlicOem {
|
struct AcpiSlicOem {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue