Author: rpaulo
Date: Wed Oct 13 11:38:24 2010
New Revision: 213772
URL: http://svn.freebsd.org/changeset/base/213772

Log:
  Mark acpi_bus_number() as __unused. This allows clang to this file
  without any warnings.

Modified:
  head/sys/dev/acpica/Osd/OsdHardware.c

Modified: head/sys/dev/acpica/Osd/OsdHardware.c
==============================================================================
--- head/sys/dev/acpica/Osd/OsdHardware.c       Wed Oct 13 11:37:39 2010        
(r213771)
+++ head/sys/dev/acpica/Osd/OsdHardware.c       Wed Oct 13 11:38:24 2010        
(r213772)
@@ -126,7 +126,7 @@ AcpiOsWritePciConfiguration (ACPI_PCI_ID
 /*
  * 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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to