All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cleanup duplicate code
@ 2014-05-08 14:33 WANG Chao
  2014-05-08 14:36 ` Vivek Goyal
  0 siblings, 1 reply; 3+ messages in thread
From: WANG Chao @ 2014-05-08 14:33 UTC (permalink / raw)
  To: vgoyal, horms; +Cc: kexec

I accidentally add one duplicate line. Now remove it.

Signed-off-by: WANG Chao <chaowang@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-11  8:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08 14:33 [PATCH] cleanup duplicate code WANG Chao
2014-05-08 14:36 ` Vivek Goyal
2014-05-10 23:59   ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.