Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1704279ybp; Fri, 11 Oct 2019 19:26:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkIIn9Jedtg5rqseHhf91EOeBSvRlTruobWJfs+6PaMI52g0Fh+yH/sGP2nSxynEmZxdi0 X-Received: by 2002:a17:907:2132:: with SMTP id qo18mr16730144ejb.247.1570847187661; Fri, 11 Oct 2019 19:26:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570847187; cv=none; d=google.com; s=arc-20160816; b=EVnX7UkxENQz0mDiLLX9OBshM9vtcUaFRvdb/Ic9w+tKe9AJuCegusr1GGR+XaUL9c +TMgCcqs4hS5kWRCZEYc5jfc4M1HYmvUHJ8QaSXHyWlomPRmA852k7if9Rvd9h5LM6IM 5WxBTOMy92jOpKTBPR6zDTrig5gByXAb4VvRBsCTac+w5eI6Y7vvD1rG6tL4Fu0xuYDx sp+6ZRAOqsPa7/y+XevF2Y14GdnGikeab96uC86mE3iEciFRaXWe/1R/MSmLVwtSwL66 g+/ZmHmmHs2Lk4OZRUqjMEKh6qrDWLsUdbDOdMIzJSSfKdJMNEJxaEbfioDJMFHsbOg4 uzjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=03cFFNCSObMRFpel8sMqf3ETPbq1d6Iaqq4apgyVYqw=; b=lOAqa0hX5cjRfrBPiwss0NBL87jmcE7Kan+o6yis4X8A6CrHJT3O1HyZvMKONsI6I0 rt78sy+B8abeVb/YwB4Z0ChRoUH93jTpGgA5OxaVBJF4k/dwDJdbhtRBGV3BjSpMyUyw 4NdyT8JpoyoALKNSCybD7a4XcJkLceKHYkCq9yaYi0PbvYTeI+QxqJr44VBydwTnUWWL 7HNIbFP+caTmNyl59lnreKC5LqRqsuljXvHy2BZkPMkBQdP+WUUqLTm7yvBWlwdkObDh AQFgy53lLqIH6pypFS7dO3Q4H1avCTbDnDnYBZyfgSXpHvoQpTgl8kRWumRAoyu1sUBi 24mQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rk6si6417516ejb.129.2019.10.11.19.26.04; Fri, 11 Oct 2019 19:26:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728842AbfJLCWa (ORCPT + 99 others); Fri, 11 Oct 2019 22:22:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44402 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727606AbfJLCW3 (ORCPT ); Fri, 11 Oct 2019 22:22:29 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C235D30833B0; Sat, 12 Oct 2019 02:22:29 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-12-50.pek2.redhat.com [10.72.12.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id EBC1F1001956; Sat, 12 Oct 2019 02:22:03 +0000 (UTC) From: Lianbo Jiang To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org, bhe@redhat.com, dyoung@redhat.com, jgross@suse.com, dhowells@redhat.com, Thomas.Lendacky@amd.com, ebiederm@xmission.com, vgoyal@redhat.com, kexec@lists.infradead.org Subject: [PATCH 2/3 v3] x86/kdump cleanup: remove the unused crash_copy_backup_region() Date: Sat, 12 Oct 2019 10:21:39 +0800 Message-Id: <20191012022140.19003-3-lijiang@redhat.com> In-Reply-To: <20191012022140.19003-1-lijiang@redhat.com> References: <20191012022140.19003-1-lijiang@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Sat, 12 Oct 2019 02:22:29 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The crash_copy_backup_region() has never been used, so clean up the redundant code. Signed-off-by: Lianbo Jiang --- arch/x86/include/asm/crash.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/include/asm/crash.h b/arch/x86/include/asm/crash.h index 0acf5ee45a21..089b2850f9d1 100644 --- a/arch/x86/include/asm/crash.h +++ b/arch/x86/include/asm/crash.h @@ -3,7 +3,6 @@ #define _ASM_X86_CRASH_H int crash_load_segments(struct kimage *image); -int crash_copy_backup_region(struct kimage *image); int crash_setup_memmap_entries(struct kimage *image, struct boot_params *params); void crash_smp_send_stop(void); -- 2.17.1