Message ID | 1440022048-6285-6-git-send-email-al.stone@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 01e6770..96729d3 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -127,10 +127,6 @@ static inline void acpi_initrd_override(void *data, size_t size) } #endif -#define BAD_MADT_ENTRY(entry, end) ( \ - (!entry) || (unsigned long)entry + sizeof(*entry) > end || \ - ((struct acpi_subtable_header *)entry)->length < sizeof(*entry)) - char * __acpi_map_table (unsigned long phys_addr, unsigned long size); void __acpi_unmap_table(char *map, unsigned long size); int early_acpi_boot_init(void);
Now that we have introduced to bad_madt_entry(), and we have removed all the usages of the BAD_MADT_ENTRY macro from all of the various architectures that use it (arm64, ia64, x86), we can remove the macro definition since it is no longer used. Signed-off-by: Al Stone <al.stone@linaro.org> Cc: Rafael J. Wysocki <rjw@rjwysocki.net> Cc: Len Brown <lenb@kernel.org> --- include/linux/acpi.h | 4 ---- 1 file changed, 4 deletions(-)