[PATCH] cleanup duplicate code
Vivek Goyal
vgoyal at redhat.com
Thu May 8 07:36:15 PDT 2014
On Thu, May 08, 2014 at 10:33:15PM +0800, WANG Chao wrote:
> I accidentally add one duplicate line. Now remove it.
>
> Signed-off-by: WANG Chao <chaowang at redhat.com>
> ---
Acked-by: Vivek Goyal <vgoyal at redhat.com>
Vivek
> 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
More information about the kexec
mailing list