Skip to contentSkip to conversation

IB/qib: qib_user_sdma_rb_root can be static

PATCH In review Fengguang Wu 2 participants 2 messages Mar 20, 2014 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IB/qib: qib_user_sdma_rb_root can be static

CC CQ Tang <[email protected]>
CC Roland Dreier <[email protected]>
---
 qib_user_sdma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/qib/qib_user_sdma.c +1 -1
index b225645..d2806ca 100644
@@ -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;

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