Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4524782rwb; Mon, 31 Jul 2023 08:08:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlFqpnPk+/pJq7+biUjVac8omFHAZWlYWRslyPmG+bRkg7oJtkvkpMRmM1PA1EkwBfa4MTe/ X-Received: by 2002:a05:6a00:10d5:b0:682:7d8a:f891 with SMTP id d21-20020a056a0010d500b006827d8af891mr12421717pfu.20.1690816113932; Mon, 31 Jul 2023 08:08:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690816113; cv=none; d=google.com; s=arc-20160816; b=cXzjGq9v2O2OAT1F/FTQqsUJU+w34HA5yfEysPWjm4lbG3IYiNka/t8ZqAjus9vK4M QRdI2tH1Tn0bQ3R6hPgcDYcwaPP4o+N1AmWxTcGLyRbbDLwxajMJ8hx6IEi7gdpaC4de LYNKrFDbANwltASauMG0fvvaAAkUat12widlTkJTIu0Y08DUPi2QwQRPHRSL1DeQyE3T 4a/JiBWFN+0CAfOiNOBe0g0SWxaErzyfwsKoqmGVdEdQa35WFBcHSwGTPYQrgHjwaY8d rPyRILjw7U3IVhsVXlpHwNjzCdBgxmRpnm7T4sQjdD7BoPtazcbuiu+0W2s16To7ThLM saNw== 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=ol0GYyIzrMKrksJ3LBbZRrPIjPUEwRLQEVahRFP0PrY=; fh=Omm/AoLhTvrB1QxgDTumzebJFrPbQ3wYbl+61rNrlOo=; b=F06Ydl+5OHbHaY71XiVZJJCn/cmnrdAefal4oNBZwnGB7P876vyo6TE9XwDxUT8Vx/ J39Vkf9eIX1YXmx3iwohhfAFcJgMzRGS9xlKVgMV8sKvrvySThlcjI6CdxTmjd3AIF4e wrNaWiHpTxOY+ddllp5n/K6V26jEw88210Ac1ApU7EDbNuTOa4vVRJLE/qWn0JC/Khv+ MB6gLxxhBji2OVTZeMFheSLHnyrmkicJGPzRXuR6PlRsvQEIf1DftdVhK2l2OxOj1zQu +OgVr0dO9wFMFe5n97SPNxRzjqbNg4bUfoUIGuv9GqxvFtNLFrG1YSuRq+yZg/56R9Rd gr0A== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q9-20020a056a00150900b006828982043csi7675109pfu.141.2023.07.31.08.08.11; Mon, 31 Jul 2023 08:08:33 -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 S233114AbjGaOFS (ORCPT + 99 others); Mon, 31 Jul 2023 10:05:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233064AbjGaOEo (ORCPT ); Mon, 31 Jul 2023 10:04:44 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 223A87D96; Mon, 31 Jul 2023 06:59:40 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RF0Bx3cFXzXdTy; Mon, 31 Jul 2023 21:56: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; Mon, 31 Jul 2023 21:59:29 +0800 From: Yue Haibing To: , , , CC: , , Yue Haibing Subject: [PATCH -next] RDMA/hns: Remove unused function declarations Date: Mon, 31 Jul 2023 21:59:16 +0800 Message-ID: <20230731135916.32392-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.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 commit b16f8188472e ("RDMA/hns: Refactor eq code for hip06") left behind hns_roce_cleanup_eq_table(). And commit 773f841ab1ae ("RDMA/hns: Avoid filling sgid index when modifying QP to RTR") leave hns_get_gid_index() unused. Signed-off-by: Yue Haibing --- drivers/infiniband/hw/hns/hns_roce_device.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h index 6084c1649000..34e099efaae3 100644 --- a/drivers/infiniband/hw/hns/hns_roce_device.h +++ b/drivers/infiniband/hw/hns/hns_roce_device.h @@ -1111,7 +1111,6 @@ int hns_roce_init_qp_table(struct hns_roce_dev *hr_dev); void hns_roce_init_srq_table(struct hns_roce_dev *hr_dev); void hns_roce_init_xrcd_table(struct hns_roce_dev *hr_dev); -void hns_roce_cleanup_eq_table(struct hns_roce_dev *hr_dev); void hns_roce_cleanup_cq_table(struct hns_roce_dev *hr_dev); void hns_roce_cleanup_qp_table(struct hns_roce_dev *hr_dev); @@ -1205,7 +1204,6 @@ void hns_roce_cq_event(struct hns_roce_dev *hr_dev, u32 cqn, int event_type); void flush_cqe(struct hns_roce_dev *dev, struct hns_roce_qp *qp); void hns_roce_qp_event(struct hns_roce_dev *hr_dev, u32 qpn, int event_type); void hns_roce_srq_event(struct hns_roce_dev *hr_dev, u32 srqn, int event_type); -u8 hns_get_gid_index(struct hns_roce_dev *hr_dev, u32 port, int gid_index); void hns_roce_handle_device_err(struct hns_roce_dev *hr_dev); int hns_roce_init(struct hns_roce_dev *hr_dev); void hns_roce_exit(struct hns_roce_dev *hr_dev); -- 2.34.1