Skip to contentSkip to conversation

RDMA/ocrdma: Remove version.h includes

PATCH In review Devendra Naga 2 participants 2 messages May 29, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RDMA/ocrdma: Remove version.h includes

when ran with make versioncheck the ocrdma_verbs.h ocrdma_main.c includes version.h which are not needed.

drivers/infiniband/hw/ocrdma/ocrdma_main.c: 29 linux/version.h not needed. drivers/infiniband/hw/ocrdma/ocrdma_verbs.h: 31 linux/version.h not needed.

---
 drivers/infiniband/hw/ocrdma/ocrdma_main.c  |    1 -
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h |    1 -
 2 files changed, 2 deletions(-)
drivers/infiniband/hw/ocrdma/ocrdma_main.c +0 -1
index a20d16e..04fef3d 100644
@@ -26,7 +26,6 @@
  *******************************************************************/
 
 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/idr.h>
 #include <rdma/ib_verbs.h>
 #include <rdma/ib_user_verbs.h>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.h +0 -1
index e648343..633f03d 100644
@@ -28,7 +28,6 @@
 #ifndef __OCRDMA_VERBS_H__
 #define __OCRDMA_VERBS_H__
 
-#include <linux/version.h>
 int ocrdma_post_send(struct ib_qp *, struct ib_send_wr *,
 		     struct ib_send_wr **bad_wr);
 int ocrdma_post_recv(struct ib_qp *, struct ib_recv_wr *,
Signature · 6 lines
1.7.9.5

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