Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp740032ybg; Fri, 18 Oct 2019 06:43:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyn3O2SC3mukhFLovZe7BBOsZbhDgYDz6YPdsO06PN1Y2yhbEV7E/B/Tr5B852LlEhhept9 X-Received: by 2002:a17:906:b314:: with SMTP id n20mr8962742ejz.11.1571406235867; Fri, 18 Oct 2019 06:43:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571406235; cv=none; d=google.com; s=arc-20160816; b=fCW2zOJF7Vd3ruhDZ2lLOdBGyy4ByKAj0ZScDpYUE0VrdH+FHIDQ7MgDqVZ+VmeOwk 4jJ5nmSyyggD/sE9ZYAfs6JxEWiGNs1baP9GcgPd+Gkm8S5WlFZ/cjhjAdexdvEVNROS bwpZKceRzcV0u3ZOoj0fRF1XKohR5XNaAvM8xQj5Xsxz4XNtTfH4jzAP9y5GXRI5ecGq yhuarkc1df+xA0o8TLe0w9aHAkluuvL1ucUgYrEC+/Z1iQkJmMs0WkHOYG68rkDWcToA 59gAVtKyXfa3kDeIMPUoEgzeGM2JQRSmGZoZiucvKZ6WdL5yfeeVLIPNLujEI3qfqmuF F9eA== 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=MpDCr0MhDRf4uL0cvHo/TI0c7O0SuIeFBAw2yAs4yx/VVshEUGug6ggGrDALtSnrI9 SB3DMCQvDuF+u0efJa/5nAOZlZpraDLru+v7h3qcpqqrM1uwUSEV/SvuUizt+fca3zGj lLkNaeWdmfmzH3Ov/wdPCiEh3WDNwCs/v8L+X9yPIIWanG5p1LkyPx4emFneq8Kj5wfC 1dQTaLWMbtUt0UPP/kcxfVB4p4TU7iboSOhGSsAOQz0RbSDmn8+Q+nhMwr4DkdMk7JMQ BjLQnOz4bpPyP67avkDU2InLKFdH4zTg4fzfGnL+1L2IdHsg6krtC57LEbLk/NEd36vu qhUA== 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 p20si3038259eju.109.2019.10.18.06.43.32; Fri, 18 Oct 2019 06:43:55 -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 S2408627AbfJQJov (ORCPT + 99 others); Thu, 17 Oct 2019 05:44:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39688 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729365AbfJQJou (ORCPT ); Thu, 17 Oct 2019 05:44:50 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5DDC5C0021D7; Thu, 17 Oct 2019 09:44:50 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-12-16.pek2.redhat.com [10.72.12.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4668519C68; Thu, 17 Oct 2019 09:44:30 +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 v4] x86/kdump: remove the unused crash_copy_backup_region() Date: Thu, 17 Oct 2019 17:43:46 +0800 Message-Id: <20191017094347.20327-3-lijiang@redhat.com> In-Reply-To: <20191017094347.20327-1-lijiang@redhat.com> References: <20191017094347.20327-1-lijiang@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 17 Oct 2019 09:44:50 +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