summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Damm <magnus@valinux.co.jp>2007-03-15 17:55:08 +0900
committerSimon Horman <horms@verge.net.au>2007-03-16 11:22:27 +0900
commitcd6091ebd1c0ebc608390996c1cb088fab13ec79 (patch)
tree47441144d22caca45621d20f6c6666966a300408
parent5d6f808c6468082b20f899114ef023fdaeb44615 (diff)
Remove duplicate MAX_LINE
Remove duplicate MAX_LINE MAX_LINE is already defined in kexec/kexec.h Signed-off-by: Magnus Damm <magnus@valinux.co.jp> Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--kexec/arch/ia64/crashdump-ia64.c2
-rw-r--r--kexec/arch/sh/kexec-sh.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/kexec/arch/ia64/crashdump-ia64.c b/kexec/arch/ia64/crashdump-ia64.c
index 31e5a8c..fbe45c2 100644
--- a/kexec/arch/ia64/crashdump-ia64.c
+++ b/kexec/arch/ia64/crashdump-ia64.c
@@ -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
diff --git a/kexec/arch/sh/kexec-sh.c b/kexec/arch/sh/kexec-sh.c
index 07a88e8..123dd18 100644
--- a/kexec/arch/sh/kexec-sh.c
+++ b/kexec/arch/sh/kexec-sh.c
@@ -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. */