[PATCH infiniband] IB/qib: qib_user_sdma_rb_root can be static

Fengguang Wu
2014-03-20T13:09:22Z

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(-)

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;