* [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
* Re: [PATCH] RDMA: Remove unnecessary struct declaration
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
1 sibling, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2021-05-11 4:55 UTC (permalink / raw)
To: Wan Jiabing
Cc: Doug Ledford, Jason Gunthorpe, linux-rdma, linux-kernel, kael_w
On Mon, May 10, 2021 at 02:28:42PM +0800, Wan Jiabing wrote:
> 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(-)
>
I'm pretty sure that my ROB is not needed, but anyway.
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] RDMA: Remove unnecessary struct declaration
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
1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2021-05-11 19:50 UTC (permalink / raw)
To: Wan Jiabing; +Cc: Doug Ledford, linux-rdma, linux-kernel, kael_w
On Mon, May 10, 2021 at 02:28:42PM +0800, Wan Jiabing wrote:
> The declaration of struct ib_grh is uncessary here,
> because it is defined at line 766.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
> ---
> include/rdma/ib_verbs.h | 1 -
> 1 file changed, 1 deletion(-)
Applied to for-next, thanks
Jason
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.