From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752059AbdI1Ebh (ORCPT ); Thu, 28 Sep 2017 00:31:37 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:7460 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751236AbdI1E3d (ORCPT ); Thu, 28 Sep 2017 00:29:33 -0400 From: "Wei Hu (Xavier)" To: CC: , , , , , , , , , , , Subject: [PATCH for-next 8/9] RDMA/hns: Remove unused struct members in hns-abi.h Date: Thu, 28 Sep 2017 12:57:33 +0800 Message-ID: <1506574654-56699-9-git-send-email-xavier.huwei@huawei.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1506574654-56699-1-git-send-email-xavier.huwei@huawei.com> References: <1506574654-56699-1-git-send-email-xavier.huwei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090201.59CC7AAB.00A7,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 0b31d680db21f2c6e8f46f0275c9bdc5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lijun Ou This patch mainly deletes some unused struct members for hns_roce_ib_create_qp in order to match libhns, because the num of struct members of hns_roce_ib_create_qp must be the same with hns_roce_create_qp in libhns. Signed-off-by: Lijun Ou Signed-off-by: Wei Hu (Xavier) Signed-off-by: Shaobo Xu --- include/uapi/rdma/hns-abi.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/uapi/rdma/hns-abi.h b/include/uapi/rdma/hns-abi.h index 5d74019..79251b6 100644 --- a/include/uapi/rdma/hns-abi.h +++ b/include/uapi/rdma/hns-abi.h @@ -41,10 +41,8 @@ struct hns_roce_ib_create_cq { struct hns_roce_ib_create_qp { __u64 buf_addr; - __u64 db_addr; __u8 log_sq_bb_count; __u8 log_sq_stride; - __u8 sq_no_prefetch; __u8 reserved[5]; }; -- 1.9.1