summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWANG Chao <chaowang@redhat.com>2014-05-08 22:33:15 +0800
committerSimon Horman <horms@verge.net.au>2014-05-11 08:59:36 +0900
commit608d94f71271e1cf1e3bce6532955cd7625fc956 (patch)
tree6d810d6f82e1905b2a463ba6f4044a63a611aded
parentf22cf559f949ae0a78d1acd4a2b3884e5bc54f52 (diff)
downloadkexec-tools-608d94f71271e1cf1e3bce6532955cd7625fc956.tar.gz
cleanup duplicate code
I accidentally add one duplicate line. Now remove it. Signed-off-by: WANG Chao <chaowang@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--kexec/arch/i386/crashdump-x86.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c
index 999a837..15ac4b5 100644
--- a/kexec/arch/i386/crashdump-x86.c
+++ b/kexec/arch/i386/crashdump-x86.c
@@ -303,7 +303,6 @@ static int get_crash_memory_ranges(struct memory_range **range, int *ranges,
} else if(memcmp(str,"reserved\n",9) == 0 ) {
type = RANGE_RESERVED;
} else if (memcmp(str, "GART\n", 5) == 0) {
- } else if (memcmp(str, "GART\n", 5) == 0) {
gart_start = start;
gart_end = end;
gart = 1;