linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] RDMA: Remove unnecessary struct declaration
@ 2021-05-10  6:28 Wan Jiabing
  2021-05-11  4:55 ` Leon Romanovsky
  2021-05-11 19:50 ` Jason Gunthorpe
  0 siblings, 2 replies; 3+ messages in thread
From: Wan Jiabing @ 2021-05-10  6:28 UTC (permalink / raw)
  To: Doug Ledford, Jason Gunthorpe, linux-rdma, linux-kernel
  Cc: kael_w, Wan Jiabing

The declaration of struct ib_grh is uncessary here,
because it is defined at line 766.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-11 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10  6:28 [PATCH] RDMA: Remove unnecessary struct declaration Wan Jiabing
2021-05-11  4:55 ` Leon Romanovsky
2021-05-11 19:50 ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).