summaryrefslogtreecommitdiffstats
path: root/include/acpi/platform
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-12-31 04:44:33 +0100
committerLen Brown <len.brown@intel.com>2008-12-31 04:52:26 +0100
commit087da3b4e2d7d3ef70a4fa649b9a286fdeb0e44e (patch)
treee078d81b7d34c4352fe50a26974e067328bf0141 /include/acpi/platform
parentACPI: PCI: add HP copyright (diff)
downloadlinux-087da3b4e2d7d3ef70a4fa649b9a286fdeb0e44e.tar.xz
linux-087da3b4e2d7d3ef70a4fa649b9a286fdeb0e44e.zip
ACPI: simplify buffer management for acpi_pci_bind() etc.
use ACPI_ALLOCATE_BUFFER to remove the allocations within acpi_pci_bind(), acpi_pci_unbind() and acpi_pci_bind_root(). While there, delete some unnecessary param inits from those routines. Delete concept of ACPI_PATHNAME_MAX, since this was the last use. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/platform')
-rw-r--r--include/acpi/platform/aclinux.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index 0515e754449d..9116c9862234 100644
--- a/include/acpi/platform/aclinux.h
+++ b/include/acpi/platform/aclinux.h
@@ -70,9 +70,6 @@
#define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol);
#define strtoul simple_strtoul
-/* Full namespace pathname length limit - arbitrary */
-#define ACPI_PATHNAME_MAX 256
-
#else /* !__KERNEL__ */
#include <stdarg.h>