From nobody Fri Apr 26 11:42:00 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1581424700531684.262137626819; Tue, 11 Feb 2020 04:38:20 -0800 (PST) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1j1UnR-0007i3-J9; Tue, 11 Feb 2020 12:37:45 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1j1UnR-0007hy-08 for xen-devel@lists.xenproject.org; Tue, 11 Feb 2020 12:37:45 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 4c784308-4ccb-11ea-8bf0-bc764e2007e4; Tue, 11 Feb 2020 12:37:43 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 9131CB1F1; Tue, 11 Feb 2020 12:37:42 +0000 (UTC) X-Inumbo-ID: 4c784308-4ccb-11ea-8bf0-bc764e2007e4 X-Virus-Scanned: by amavisd-new at test-mx.suse.de From: Juergen Gross To: xen-devel@lists.xenproject.org Date: Tue, 11 Feb 2020 13:37:40 +0100 Message-Id: <20200211123740.17082-1-jgross@suse.com> X-Mailer: git-send-email 2.16.4 Subject: [Xen-devel] [PATCH] xen: remove empty softirq_init() X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Stefano Stabellini , Julien Grall , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Jan Beulich , Volodymyr Babchuk , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" softirq_init() is empty since Sen 4.1. Remove it together with its call sites. Signed-off-by: Juergen Gross Acked-by: Andrew Cooper --- xen/arch/arm/setup.c | 2 -- xen/arch/x86/setup.c | 1 - xen/common/softirq.c | 4 ---- xen/include/xen/softirq.h | 1 - 4 files changed, 8 deletions(-) diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 3c8ae11b73..7968cee47d 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -876,8 +876,6 @@ void __init start_xen(unsigned long boot_phys_offset, =20 gic_init(); =20 - softirq_init(); - tasklet_subsys_init(); =20 if ( xsm_dt_init() !=3D 1 ) diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index e50e1f86b3..3fbaee156d 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -1533,7 +1533,6 @@ void __init noreturn __start_xen(unsigned long mbi_p) console_init_ring(); vesa_init(); =20 - softirq_init(); tasklet_subsys_init(); =20 paging_init(); diff --git a/xen/common/softirq.c b/xen/common/softirq.c index 2d66193203..b83ad96d6c 100644 --- a/xen/common/softirq.c +++ b/xen/common/softirq.c @@ -132,10 +132,6 @@ void raise_softirq(unsigned int nr) set_bit(nr, &softirq_pending(smp_processor_id())); } =20 -void __init softirq_init(void) -{ -} - /* * Local variables: * mode: C diff --git a/xen/include/xen/softirq.h b/xen/include/xen/softirq.h index d7273b389b..b4724f5c8b 100644 --- a/xen/include/xen/softirq.h +++ b/xen/include/xen/softirq.h @@ -25,7 +25,6 @@ typedef void (*softirq_handler)(void); =20 void do_softirq(void); void open_softirq(int nr, softirq_handler handler); -void softirq_init(void); =20 void cpumask_raise_softirq(const cpumask_t *, unsigned int nr); void cpu_raise_softirq(unsigned int cpu, unsigned int nr); --=20 2.16.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel