diff options
author | Len Brown <len.brown@intel.com> | 2008-12-31 03:44:33 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-31 03:52:26 (GMT) |
commit | 087da3b4e2d7d3ef70a4fa649b9a286fdeb0e44e (patch) | |
tree | e078d81b7d34c4352fe50a26974e067328bf0141 /include/acpi/platform | |
parent | 39488b041e2fdc206b3de4517b8f220ae07b2a20 (diff) | |
download | linux-087da3b4e2d7d3ef70a4fa649b9a286fdeb0e44e.tar.xz |
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 0515e75..9116c98 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> |