summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2010-05-23 21:39:31 -0700
committerRoland Dreier <rolandd@cisco.com>2010-05-23 21:39:31 -0700
commit1693395511a2840f67dd3184212a072ac7f07524 (patch)
tree5906e6b772fe898e65707d19668f71a8def4a9dd
parenta0fe3cc5d36a5f5b4f60abfe1a4b1caf4a5cce5a (diff)
downloadlinux-1693395511a2840f67dd3184212a072ac7f07524.tar.gz
linux-1693395511a2840f67dd3184212a072ac7f07524.tar.bz2
linux-1693395511a2840f67dd3184212a072ac7f07524.zip
IB/mad: Make needlessly global mad_sendq_size/mad_recvq_size static
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r--drivers/infiniband/core/mad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/core/mad.c b/drivers/infiniband/core/mad.c
index 6dc7b77d5d29..ef1304f151dc 100644
--- a/drivers/infiniband/core/mad.c
+++ b/drivers/infiniband/core/mad.c
@@ -47,8 +47,8 @@ MODULE_DESCRIPTION("kernel IB MAD API");
MODULE_AUTHOR("Hal Rosenstock");
MODULE_AUTHOR("Sean Hefty");
-int mad_sendq_size = IB_MAD_QP_SEND_SIZE;
-int mad_recvq_size = IB_MAD_QP_RECV_SIZE;
+static int mad_sendq_size = IB_MAD_QP_SEND_SIZE;
+static int mad_recvq_size = IB_MAD_QP_RECV_SIZE;
module_param_named(send_queue_size, mad_sendq_size, int, 0444);
MODULE_PARM_DESC(send_queue_size, "Size of send queue in number of work requests");