Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5709844pxu; Thu, 22 Oct 2020 09:08:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKWXgmqmyfIQr+tbUaqiCbRZikCINMBmSTghLh3x04MuS+d/UZyB38sY0Y4A/MdxSc8wAr X-Received: by 2002:a17:907:429f:: with SMTP id ny23mr2837372ejb.150.1603382909700; Thu, 22 Oct 2020 09:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603382909; cv=none; d=google.com; s=arc-20160816; b=XvYJz/jW3qJGtc4cXhghAVt+v5aTxyuATaDS6MkMbHZJIgcQsCmQlJzW6sfUB8Kde+ imOvF/kgpGQ8jtPyk+c7eB2cbGajEprGBz2wqS+hk5FohOTW5hmPHUSNfQGoJhIafdqO VNDd8jcvPx7L7Pkqd5Aa8IkdrsFiCYUYTuYoO2ZGkXv1YrSjrZCKlxnze1w+KlflaYb2 CwZ8vtESqYFKzABOorIGcLbrGOh/LrrzftK7FXBxWzpcHH0FKL8eVonE8OUCPnwTd3B8 x6c7iC8ae219KTNc0tJdcPGmjAg8D+FSAY/jsIwa5501KHVy6/pE4Uf8amhM9lhS1h75 23cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+fw6jToo0XyIGVFmL1AVSJxKibDPcDAXWlsALH4ZCRY=; b=CVXdRRjWrEthBD0jjSrAfZkjpGwQaAwzSnau1MogeYKv4iiwnTVAONLB0Ff7U/diYu 2qOQ+j1O+/FQFITs/6tJzSwHDK/h+awpdwa7XBkdVQDVf/HuYApUN7GrVG0VoedpkinY ukoWxfZE43fsnRnIkm9N+WpV333wD7I/AUAztw/3v0uDvbDDgtFodyk+nsWy+3MG4UOJ ZS4CI0mcQbCm+yk/bQhdAIpo7PS7n2iLR3+FJ/Bje2j2JBbWUY/TtGAv7JryHdueRRD1 h/PfaQ0bYottFvljOR3/w8vG4nhULxYYJhJfGa3YL/VyQJz9eguq0r+J+aOARh9t4ztD 9uTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=CLdksM9p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fx21si1088457ejb.458.2020.10.22.09.08.05; Thu, 22 Oct 2020 09:08:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=CLdksM9p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2896162AbgJVJtP (ORCPT + 99 others); Thu, 22 Oct 2020 05:49:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:48892 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2896002AbgJVJtM (ORCPT ); Thu, 22 Oct 2020 05:49:12 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1603360150; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+fw6jToo0XyIGVFmL1AVSJxKibDPcDAXWlsALH4ZCRY=; b=CLdksM9pz7V631JF9izi4td+aUTHbmuBiNNKiAlpgPZZOlD/X7PNWLhY9NFlnFx4v8V3BF C5TkzCSt4gQOCwGWGFtzZolGoDTfA2/WPRlTd6FISBXFXMCVgkcsSp0XP1kwaYaBxlQwy+ jajaQ5HVad/0I+o7XEuXJhw2OYrYnro= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 5E94AADBB; Thu, 22 Oct 2020 09:49:10 +0000 (UTC) From: Juergen Gross To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: Juergen Gross , Boris Ostrovsky , Stefano Stabellini , Jan Beulich Subject: [PATCH v2 1/5] xen: remove no longer used functions Date: Thu, 22 Oct 2020 11:49:03 +0200 Message-Id: <20201022094907.28560-2-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201022094907.28560-1-jgross@suse.com> References: <20201022094907.28560-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With the switch to the lateeoi model for interdomain event channels some functions are no longer in use. Remove them. Suggested-by: Jan Beulich Signed-off-by: Juergen Gross Reviewed-by: Jan Beulich --- drivers/xen/events/events_base.c | 21 --------------------- include/xen/events.h | 8 -------- 2 files changed, 29 deletions(-) diff --git a/drivers/xen/events/events_base.c b/drivers/xen/events/events_base.c index cc317739e786..436682db41c5 100644 --- a/drivers/xen/events/events_base.c +++ b/drivers/xen/events/events_base.c @@ -1145,14 +1145,6 @@ static int bind_interdomain_evtchn_to_irq_chip(unsigned int remote_domain, chip); } -int bind_interdomain_evtchn_to_irq(unsigned int remote_domain, - evtchn_port_t remote_port) -{ - return bind_interdomain_evtchn_to_irq_chip(remote_domain, remote_port, - &xen_dynamic_chip); -} -EXPORT_SYMBOL_GPL(bind_interdomain_evtchn_to_irq); - int bind_interdomain_evtchn_to_irq_lateeoi(unsigned int remote_domain, evtchn_port_t remote_port) { @@ -1320,19 +1312,6 @@ static int bind_interdomain_evtchn_to_irqhandler_chip( return irq; } -int bind_interdomain_evtchn_to_irqhandler(unsigned int remote_domain, - evtchn_port_t remote_port, - irq_handler_t handler, - unsigned long irqflags, - const char *devname, - void *dev_id) -{ - return bind_interdomain_evtchn_to_irqhandler_chip(remote_domain, - remote_port, handler, irqflags, devname, - dev_id, &xen_dynamic_chip); -} -EXPORT_SYMBOL_GPL(bind_interdomain_evtchn_to_irqhandler); - int bind_interdomain_evtchn_to_irqhandler_lateeoi(unsigned int remote_domain, evtchn_port_t remote_port, irq_handler_t handler, diff --git a/include/xen/events.h b/include/xen/events.h index 3b8155c2ea03..8ec418e30c7f 100644 --- a/include/xen/events.h +++ b/include/xen/events.h @@ -35,16 +35,8 @@ int bind_ipi_to_irqhandler(enum ipi_vector ipi, unsigned long irqflags, const char *devname, void *dev_id); -int bind_interdomain_evtchn_to_irq(unsigned int remote_domain, - evtchn_port_t remote_port); int bind_interdomain_evtchn_to_irq_lateeoi(unsigned int remote_domain, evtchn_port_t remote_port); -int bind_interdomain_evtchn_to_irqhandler(unsigned int remote_domain, - evtchn_port_t remote_port, - irq_handler_t handler, - unsigned long irqflags, - const char *devname, - void *dev_id); int bind_interdomain_evtchn_to_irqhandler_lateeoi(unsigned int remote_domain, evtchn_port_t remote_port, irq_handler_t handler, -- 2.26.2