diff mbox

[infiniband] IB/qib: qib_user_sdma_rb_root can be static

Message ID 20140320123546.GA11076@localhost (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Fengguang Wu March 20, 2014, 12:35 p.m. UTC
CC: CQ Tang <cq.tang@intel.com>
CC: Roland Dreier <roland@purestorage.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 qib_user_sdma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



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

Comments

Marciniszyn, Mike March 20, 2014, 2:16 p.m. UTC | #1
> Subject: [PATCH infiniband] IB/qib: qib_user_sdma_rb_root can be static
> 
> CC: CQ Tang <cq.tang@intel.com>
> CC: Roland Dreier <roland@purestorage.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Thanks for the patch.

Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/infiniband/hw/qib/qib_user_sdma.c b/drivers/infiniband/hw/qib/qib_user_sdma.c
index b225645..d2806ca 100644
--- a/drivers/infiniband/hw/qib/qib_user_sdma.c
+++ b/drivers/infiniband/hw/qib/qib_user_sdma.c
@@ -55,7 +55,7 @@ 
 /*
  * track how many times a process open this driver.
  */
-struct rb_root qib_user_sdma_rb_root = RB_ROOT;
+static struct rb_root qib_user_sdma_rb_root = RB_ROOT;
 
 struct qib_user_sdma_rb_node {
 	struct rb_node node;