Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WiPOF-0006JT-NG for kexec@lists.infradead.org; Thu, 08 May 2014 14:33:40 +0000 From: WANG Chao Subject: [PATCH] cleanup duplicate code Date: Thu, 8 May 2014 22:33:15 +0800 Message-Id: <1399559595-6062-1-git-send-email-chaowang@redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: vgoyal@redhat.com, horms@verge.net.au Cc: kexec@lists.infradead.org I accidentally add one duplicate line. Now remove it. Signed-off-by: WANG Chao --- kexec/arch/i386/crashdump-x86.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c index cc33347..164ebb2 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; -- 1.8.5.3 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec