Remove duplicate MAX_LINE
MAX_LINE is already defined in kexec/kexec.h
Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
---
Applies to kexec-tools-testing d6c231c6f341d839fbfb09ea0814dd9a5ccdb005.
ia64/crashdump-ia64.c | 2 --
sh/kexec-sh.c | 1 -
2 files changed, 3 deletions(-)
--- 0001/kexec/arch/ia64/crashdump-ia64.c
+++ work/kexec/arch/ia64/crashdump-ia64.c 2007-03-09 19:12:36.000000000
+0900
@@ -40,8 +40,6 @@ static struct crash_elf_info elf_info =
page_offset: PAGE_OFFSET,
};
-
-#define MAX_LINE 160
/* Stores a sorted list of RAM memory ranges for which to create elf headers.
* A separate program header is created for backup region.
* The number of entries in memory_range array is always smaller than
--- 0001/kexec/arch/sh/kexec-sh.c
+++ work/kexec/arch/sh/kexec-sh.c 2007-03-09 19:12:53.000000000 +0900
@@ -21,7 +21,6 @@
#include <arch/options.h>
#define MAX_MEMORY_RANGES 64
-#define MAX_LINE 160
static struct memory_range memory_range[MAX_MEMORY_RANGES];
/* Return a sorted list of available memory ranges. */
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot