From patchwork Sat Jul 29 12:20:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 128117 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1013153vqg; Sat, 29 Jul 2023 05:56:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlHIYGgHle9JVw7sZYiwjGIjbweengZtBeqMWdwqYvvhJ1bxB8uPY+AcT+mdBKMOV4piIm7+ X-Received: by 2002:a17:903:244a:b0:1b8:83a3:7db6 with SMTP id l10-20020a170903244a00b001b883a37db6mr5416086pls.44.1690635373383; Sat, 29 Jul 2023 05:56:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690635373; cv=none; d=google.com; s=arc-20160816; b=FDFX/0Fk6aka/1bKD0j3gnQAdKgl6A4HSo8Upss8hvXtjNIVkx6/c0Qgwx+a4Z2DBr +1nfI8K0sbJrVR/r3u5zwTV/ty/KvkpoR7v3iABvfSi3UAhg+6CH5z36B3vftT57Js/H EmPuML8gGaS5xTrWhF5o7aQDDrBAlWgokoQlijEGQYZXMgLchdixRmbBPsC2wHYkb+Pt 8auMuI3RzrxC6UKI9nypIIOS/bGOrWxJQzmrStf0/iRQHCKO2MntE2rMaWlrKLfq1fxo CFsLPeqB28LZVdHq7zMdtYTsdlWnn9xPQPODOvNdtgYel+KNUYQOGjxruZ/n1WAf1LY4 Iu0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=TbUByVBDULyWtXLv+6gxkznXCB2OIpTZjq/6xjzivGg=; fh=047Blrnwo9VnCoxZxnXblZH+Hu0FUco4U60CzflhhqM=; b=W0LEIHFX5JG0vfTQewDNV+EWOVXuYs60g3Kys0mt2mjLJ09fL64Nat/CSe2+iAMANE xnNLu7PNAFRDTfCU7iuKLS+RqUBUUW8UDSEUb9w+xCc5c4qhXafaNioNP5Z7lMDkkoQr hjyjKBUuzQmahD2tVLYaOJPspFCJQuTaCix3QeVr6AOOGU8DPnrJOjjSHsptTPsHmww1 uFvXvMY5/vGptrezKy9byCwRTKPxq0mUqdWKTN08Sf7OeHlnhQBZ3FZFEz17qLSe780A ilu12FdkdUv1I4iEhfBt+3cM/Q6q7e2hqj8RBeif+TmARA6E6f2K1Q+B1cLJtY2927ox kVKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i34-20020a17090a3da500b0025690f8610bsi6168295pjc.59.2023.07.29.05.56.00; Sat, 29 Jul 2023 05:56:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231276AbjG2MVL (ORCPT + 99 others); Sat, 29 Jul 2023 08:21:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjG2MVK (ORCPT ); Sat, 29 Jul 2023 08:21:10 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F2773A9C; Sat, 29 Jul 2023 05:21:09 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RCk952wBdzrRft; Sat, 29 Jul 2023 20:20:09 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sat, 29 Jul 2023 20:21:06 +0800 From: Yue Haibing To: , , , , , , , , CC: , , Subject: [PATCH net-next] vsock: Remove unused function declarations Date: Sat, 29 Jul 2023 20:20:36 +0800 Message-ID: <20230729122036.32988-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772759677095484000 X-GMAIL-MSGID: 1772759677095484000 These are never implemented since introduction in commit d021c344051a ("VSOCK: Introduce VM Sockets") Signed-off-by: Yue Haibing Reviewed-by: Simon Horman Reviewed-by: Stefano Garzarella --- net/vmw_vsock/vmci_transport.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/vmw_vsock/vmci_transport.h b/net/vmw_vsock/vmci_transport.h index b7b072194282..dbda3ababa14 100644 --- a/net/vmw_vsock/vmci_transport.h +++ b/net/vmw_vsock/vmci_transport.h @@ -116,9 +116,6 @@ struct vmci_transport { spinlock_t lock; /* protects sk. */ }; -int vmci_transport_register(void); -void vmci_transport_unregister(void); - int vmci_transport_send_wrote_bh(struct sockaddr_vm *dst, struct sockaddr_vm *src); int vmci_transport_send_read_bh(struct sockaddr_vm *dst,