Mark acpi_bus_number() as __unused. This allows clang to this file

without any warnings.
This commit is contained in:
rpaulo 2010-10-13 11:38:24 +00:00
parent bd0b79c8eb
commit 74808bc8f5

View File

@ -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;