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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CB1E6C433F5 for ; Wed, 19 Jan 2022 07:28:50 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.258728.445932 (Exim 4.92) (envelope-from ) id 1nA5OZ-0003tG-5Z; Wed, 19 Jan 2022 07:28:39 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 258728.445932; Wed, 19 Jan 2022 07:28:39 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nA5OY-0003rx-TK; Wed, 19 Jan 2022 07:28:38 +0000 Received: by outflank-mailman (input) for mailman id 258728; Wed, 19 Jan 2022 07:28:37 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nA5OX-0003Y7-54 for xen-devel@lists.xenproject.org; Wed, 19 Jan 2022 07:28:37 +0000 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 69112513-78f9-11ec-a115-11989b9578b4; Wed, 19 Jan 2022 08:28:35 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 831B4218B1; Wed, 19 Jan 2022 07:28:34 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 6344413B28; Wed, 19 Jan 2022 07:28:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id wDcjF6K952EyZQAAMHmgww (envelope-from ); Wed, 19 Jan 2022 07:28:34 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 69112513-78f9-11ec-a115-11989b9578b4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1642577314; h=from:from:reply-to: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=5Q8/hUXGqsnYkvw1oVYpCRHGGrTKxx6BfGMzSIWuIkk=; b=tPl30SlYFSZSWhgQFeaYYbXXz67N4URWouXDF1+5GpYXsugscg4DmYIVI7QVy9xPdeLQHz devaCFqz+Em7u0pzm0OMNk4RYmQckWr5sXfF48LOzAY9BslLNJzKCbDMutWY0GCgo4rk/a Lujhcorw5vyXBwmwbVAUGCJssmomqIQ= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Wei Liu , Anthony PERARD Subject: [PATCH v2 3/3] tools/libs/gnttab: remove old mini-os callback Date: Wed, 19 Jan 2022 08:28:23 +0100 Message-Id: <20220119072823.21025-4-jgross@suse.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220119072823.21025-1-jgross@suse.com> References: <20220119072823.21025-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit It is possible now to delete minios_gnttab_close_fd(). Signed-off-by: Juergen Gross --- V2: - rebase --- tools/libs/gnttab/minios.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tools/libs/gnttab/minios.c b/tools/libs/gnttab/minios.c index f59fad3577..cac89f0ba6 100644 --- a/tools/libs/gnttab/minios.c +++ b/tools/libs/gnttab/minios.c @@ -33,8 +33,6 @@ #include "private.h" -void minios_gnttab_close_fd(int fd); - static int gnttab_close_fd(struct file *file) { gntmap_fini(file->dev); @@ -89,13 +87,6 @@ int osdep_gnttab_close(xengnttab_handle *xgt) return close(xgt->fd); } -void minios_gnttab_close_fd(int fd) -{ - struct file *file = get_file_from_fd(fd); - - gnttab_close_fd(file); -} - void *osdep_gnttab_grant_map(xengnttab_handle *xgt, uint32_t count, int flags, int prot, uint32_t *domids, uint32_t *refs, -- 2.31.1