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 |
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/*.
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 --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>
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(-)