Mark acpi_bus_number() as __unused. This allows clang to this file
without any warnings.
This commit is contained in:
parent
bd0b79c8eb
commit
74808bc8f5
@ -126,7 +126,7 @@ AcpiOsWritePciConfiguration (ACPI_PCI_ID *PciId, UINT32 Register,
|
||||
/*
|
||||
* Depth-first recursive case for finding the bus, given the slot/function.
|
||||
*/
|
||||
static int
|
||||
static int __unused
|
||||
acpi_bus_number(ACPI_HANDLE root, ACPI_HANDLE curr, ACPI_PCI_ID *PciId)
|
||||
{
|
||||
ACPI_HANDLE parent;
|
||||
|
Loading…
Reference in New Issue
Block a user