* [PATCH] RDMA/ocrdma: Remove version.h includes
@ 2012-05-29 7:21 Devendra Naga
2012-05-29 19:56 ` Roland Dreier
0 siblings, 1 reply; 2+ messages in thread
From: Devendra Naga @ 2012-05-29 7:21 UTC (permalink / raw)
To: Roland Dreier, Sean Hefty, Hal Rosenstock, Sasha Levin,
Parav Pandit, linux-rdma, linux-kernel
Cc: Devendra Naga
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.
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
---
drivers/infiniband/hw/ocrdma/ocrdma_main.c | 1 -
drivers/infiniband/hw/ocrdma/ocrdma_verbs.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_main.c b/drivers/infiniband/hw/ocrdma/ocrdma_main.c
index a20d16e..04fef3d 100644
--- a/drivers/infiniband/hw/ocrdma/ocrdma_main.c
+++ b/drivers/infiniband/hw/ocrdma/ocrdma_main.c
@@ -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>
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h b/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
index e648343..633f03d 100644
--- a/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
+++ b/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
@@ -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 *,
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] RDMA/ocrdma: Remove version.h includes
2012-05-29 7:21 [PATCH] RDMA/ocrdma: Remove version.h includes Devendra Naga
@ 2012-05-29 19:56 ` Roland Dreier
0 siblings, 0 replies; 2+ messages in thread
From: Roland Dreier @ 2012-05-29 19:56 UTC (permalink / raw)
To: Devendra Naga
Cc: Sean Hefty, Hal Rosenstock, Sasha Levin, Parav Pandit, linux-rdma,
linux-kernel
thanks! applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-29 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 7:21 [PATCH] RDMA/ocrdma: Remove version.h includes Devendra Naga
2012-05-29 19:56 ` Roland Dreier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox