[PATCH rdma-core 3/7] rxe: Remove duplicate include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

This header must always be included after sys/socket.h and netinet/in.h to
avoid conflicts with glibc, and the .c file was including it too early.

rxe.h properly includes the uapi rdma_user_rxe.h header after the needed
includes.

Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
---
 providers/rxe/rxe.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/providers/rxe/rxe.c b/providers/rxe/rxe.c
index 5978df3abfa7b5..fcc8cfcb6fe49c 100644
--- a/providers/rxe/rxe.c
+++ b/providers/rxe/rxe.c
@@ -51,7 +51,6 @@
 
 #include <infiniband/driver.h>
 #include <infiniband/verbs.h>
-#include <rdma/rdma_user_rxe.h>
 
 #include "rxe_queue.h"
 #include "rxe-abi.h"
-- 
2.16.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux