cleanup duplicate code
Subsystems (2)
PATCH 1/1 cleanup duplicate code
I accidentally add one duplicate line. Now remove it.
Signed-off-by WANG Chao <[email protected]>
--- kexec/arch/i386/crashdump-x86.c | 1 - 1 file changed, 1 deletion(-)
kexec/arch/i386/crashdump-x86.c +0 -1
@@ -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 ;
Signature · 7 lines
1.8.5.3 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Quoted 4 lines · WANG Chao
I accidentally add one duplicate line. Now remove it.
Signed-off-by WANG Chao <[email protected]>---
Acked-by Vivek Goyal <[email protected]>
Vivek
Quoted 17 lines
kexec/arch/i386/crashdump-x86.c | 1 - 1 file changed, 1 deletion(-)kexec/arch/i386/crashdump-x86.c +0
-1@@ -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 ;Signature · 1 line
1.8.5.3
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Simon Horman
AppliedQuoted 7 lines · Vivek Goyal
Quoted 4 lines · WANG Chao
I accidentally add one duplicate line. Now remove it.
Signed-off-by WANG Chao <[email protected]>---
Acked-by Vivek Goyal <[email protected]>
Thanks, applied.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec