diff mbox series

RDMA/core: Clean up tracepoint headers

Message ID 20200702141946.3775.51943.stgit@klimt.1015granger.net (mailing list archive)
State Mainlined
Commit c367124e6cb32e548bb7a2823e00889d09d6bc87
Delegated to: Jason Gunthorpe
Headers show
Series RDMA/core: Clean up tracepoint headers | expand

Commit Message

Chuck Lever III July 2, 2020, 2:19 p.m. UTC
There's no need for core/trace.c to include rdma/ib_verbs.h twice.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 drivers/infiniband/core/trace.c |    2 --
 1 file changed, 2 deletions(-)

Comments

Leon Romanovsky July 5, 2020, 1:23 p.m. UTC | #1
On Thu, Jul 02, 2020 at 10:19:46AM -0400, Chuck Lever wrote:
> There's no need for core/trace.c to include rdma/ib_verbs.h twice.
>
> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
> ---
>  drivers/infiniband/core/trace.c |    2 --
>  1 file changed, 2 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>

Off-topic,
we have total mess of includes ... in drivers/infiniband/*.
Jason Gunthorpe July 6, 2020, 10:13 p.m. UTC | #2
On Thu, Jul 02, 2020 at 10:19:46AM -0400, Chuck Lever wrote:
> There's no need for core/trace.c to include rdma/ib_verbs.h twice.
> 
> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
> Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
> ---
>  drivers/infiniband/core/trace.c |    2 --
>  1 file changed, 2 deletions(-)

Applied to for-next, thanks

Jason
diff mbox series

Patch

diff --git a/drivers/infiniband/core/trace.c b/drivers/infiniband/core/trace.c
index 6c3514beac4d..31e7860d35bf 100644
--- a/drivers/infiniband/core/trace.c
+++ b/drivers/infiniband/core/trace.c
@@ -9,6 +9,4 @@ 
 
 #define CREATE_TRACE_POINTS
 
-#include <rdma/ib_verbs.h>
-
 #include <trace/events/rdma_core.h>