From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25194E936E1 for ; Wed, 4 Oct 2023 20:25:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243988AbjJDUZV (ORCPT ); Wed, 4 Oct 2023 16:25:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244546AbjJDUYu (ORCPT ); Wed, 4 Oct 2023 16:24:50 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27531F5 for ; Wed, 4 Oct 2023 13:24:14 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BC4FC433C7; Wed, 4 Oct 2023 20:24:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1696451053; bh=Y9rO6RkV/VVjt40L6DmPPiAtmSYarsbOjYQh0vDPZ5I=; h=Date:To:From:Subject:From; b=CNS1Ocf2AJdjjdXtBJaXLX7TwWaPh7mYTZbNtAtThWGXn+HpdfGNyiqu1RBpSm3iO 8t3dCfVOLIs6jaE566GXbY5Ghskt/fime1dBqyBUt/JQ/OGyEm6CurReZ5mg1EKQRI Jt0sPVx3I7eJ4cnzJ4MKfMDsQqEtBfMvrrwx56nI= Date: Wed, 04 Oct 2023 13:24:12 -0700 To: mm-commits@vger.kernel.org, thunder.leizhen@huawei.com, chenjiahao16@huawei.com, catalin.marinas@arm.com, bhe@redhat.com, akpm@linux-foundation.org From: Andrew Morton Subject: [merged mm-nonmm-stable] crash_corec-remove-unneeded-functions.patch removed from -mm tree Message-Id: <20231004202413.8BC4FC433C7@smtp.kernel.org> Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The quilt patch titled Subject: crash_core.c: remove unneeded functions has been removed from the -mm tree. Its filename was crash_corec-remove-unneeded-functions.patch This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: Baoquan He Subject: crash_core.c: remove unneeded functions Date: Thu, 14 Sep 2023 11:31:42 +0800 So far, nobody calls functions parse_crashkernel_high() and parse_crashkernel_low(), remove both of them. Link: https://lkml.kernel.org/r/20230914033142.676708-10-bhe@redhat.com Signed-off-by: Baoquan He Reviewed-by: Zhen Lei Cc: Catalin Marinas Cc: Chen Jiahao Signed-off-by: Andrew Morton --- include/linux/crash_core.h | 4 ---- kernel/crash_core.c | 18 ------------------ 2 files changed, 22 deletions(-) --- a/include/linux/crash_core.h~crash_corec-remove-unneeded-functions +++ a/include/linux/crash_core.h @@ -96,10 +96,6 @@ void final_note(Elf_Word *buf); int __init parse_crashkernel(char *cmdline, unsigned long long system_ram, unsigned long long *crash_size, unsigned long long *crash_base, unsigned long long *low_size, bool *high); -int parse_crashkernel_high(char *cmdline, unsigned long long system_ram, - unsigned long long *crash_size, unsigned long long *crash_base); -int parse_crashkernel_low(char *cmdline, unsigned long long system_ram, - unsigned long long *crash_size, unsigned long long *crash_base); #ifdef CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION #ifndef DEFAULT_CRASH_KERNEL_LOW_SIZE --- a/kernel/crash_core.c~crash_corec-remove-unneeded-functions +++ a/kernel/crash_core.c @@ -350,24 +350,6 @@ int __init parse_crashkernel(char *cmdli return ret; } -int __init parse_crashkernel_high(char *cmdline, - unsigned long long system_ram, - unsigned long long *crash_size, - unsigned long long *crash_base) -{ - return __parse_crashkernel(cmdline, system_ram, crash_size, crash_base, - suffix_tbl[SUFFIX_HIGH]); -} - -int __init parse_crashkernel_low(char *cmdline, - unsigned long long system_ram, - unsigned long long *crash_size, - unsigned long long *crash_base) -{ - return __parse_crashkernel(cmdline, system_ram, crash_size, crash_base, - suffix_tbl[SUFFIX_LOW]); -} - /* * Add a dummy early_param handler to mark crashkernel= as a known command line * parameter and suppress incorrect warnings in init/main.c. _ Patches currently in -mm which might be from bhe@redhat.com are