Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2325692pxj; Sun, 9 May 2021 23:30:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEJInwCOaquxfwTHTC9t8DDJlcgengW2XFPfcGCCS0S/gLydOzIhtswRZBihRlSdsZJDdn X-Received: by 2002:a17:907:397:: with SMTP id ss23mr23243660ejb.298.1620628251839; Sun, 09 May 2021 23:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620628251; cv=none; d=google.com; s=arc-20160816; b=lmpF4JDVbXoUaRJoxyXC0JmuBiuKPKggp1M8uTnPImEjJYJp7p7jgDNION9DmrX66I c7hxixPLH5ssYxDHMqlbscXkZZCwNElkrh80XWhkWGwo4mcuG7UuQwtCqbE3VJ+itm6N /Yh6EFTetlS+Q0ZRz0pHfQ0mG/RUmV+qNOdcxA4VhvZXi+voPiVkjip7jM3qUxXtRbM4 zQy/6qpjjC2OaW3dEHTA5jJH7rZMYmerJh5q6hnEdbcvL/CskyajgbXP32wcEmxXqrgh QJjdLKd/hK0KnAAS/VrBKmeF91+HxrRFWJSSgbd+MsefPThyx8JUlcaYLoByp/YtLGxG 5zZA== 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 :message-id:date:subject:cc:to:from; bh=gMUD7ZxbBAIMwykAd8xx3jKZAhk56k+XBCUH6MePLs8=; b=TGq8JS/pmCJYb37dJycFLXi06o3Q8DzUNoZESbv4OtIshKUuF0EET8GvxUGkYX9fIt As/5+vbGuvHSDEfmDgA0FkWKL5tHetTbkLddky8e63JAAkwZ6FecV+nIe5NfLhUyza2G empfisQ+EhtzL2iQ0P65Mg2tlhkmBThXH7wZhw3s+u9scOZmtj2AI0EhvOZtTtyoeRBg Asu+R3ZHrqh0WQC/pwJnHrN+3OQvWgswRrYU3FACz1xPSJvXWubhYiws7dcEuDX3Ju44 HCaW907+CJJojbEAUnLaO4d5r2bqaWRh+qcFNoheSLZn6p5EHf/LVM+kdpQFEJNa9UDc /T9w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p15si12621892ejj.88.2021.05.09.23.30.26; Sun, 09 May 2021 23:30:51 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230029AbhEJGaB (ORCPT + 99 others); Mon, 10 May 2021 02:30:01 -0400 Received: from mail-m176216.qiye.163.com ([59.111.176.216]:40762 "EHLO mail-m176216.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbhEJGaA (ORCPT ); Mon, 10 May 2021 02:30:00 -0400 Received: from Wanjb.localdomain (unknown [36.152.145.182]) by mail-m176216.qiye.163.com (Hmail) with ESMTPA id 673CFC20186; Mon, 10 May 2021 14:28:53 +0800 (CST) From: Wan Jiabing To: Doug Ledford , Jason Gunthorpe , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] RDMA: Remove unnecessary struct declaration Date: Mon, 10 May 2021 14:28:42 +0800 Message-Id: <20210510062843.15707-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZQ0xDSVZPGE1OSxpLGUxLSh1VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MzY6PAw4NT8SET4iKDk#KCpN KjEaCQxVSlVKTUlLTUlDSkhIQk1PVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKSENONwY+ X-HM-Tid: 0a7954f6d6d0d976kuws673cfc20186 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The declaration of struct ib_grh is uncessary here, because it is defined at line 766. Signed-off-by: Wan Jiabing --- include/rdma/ib_verbs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 7e2f3699b898..18a7a786711f 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -2139,7 +2139,6 @@ struct ib_flow_action { }; struct ib_mad; -struct ib_grh; enum ib_process_mad_flags { IB_MAD_IGNORE_MKEY = 1, -- 2.20.1