diff options
author | Len Brown <len.brown@intel.com> | 2008-12-30 22:44:33 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-30 22:52:26 -0500 |
commit | 087da3b4e2d7d3ef70a4fa649b9a286fdeb0e44e (patch) | |
tree | e078d81b7d34c4352fe50a26974e067328bf0141 /include/acpi/platform | |
parent | 39488b041e2fdc206b3de4517b8f220ae07b2a20 (diff) |
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 0515e754449d..9116c9862234 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -70,9 +70,6 @@ | |||
70 | #define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol); | 70 | #define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol); |
71 | #define strtoul simple_strtoul | 71 | #define strtoul simple_strtoul |
72 | 72 | ||
73 | /* Full namespace pathname length limit - arbitrary */ | ||
74 | #define ACPI_PATHNAME_MAX 256 | ||
75 | |||
76 | #else /* !__KERNEL__ */ | 73 | #else /* !__KERNEL__ */ |
77 | 74 | ||
78 | #include <stdarg.h> | 75 | #include <stdarg.h> |