diff options
author | Roland Dreier <rolandd@cisco.com> | 2010-05-23 21:39:31 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-05-23 21:39:31 -0700 |
commit | 1693395511a2840f67dd3184212a072ac7f07524 (patch) | |
tree | 5906e6b772fe898e65707d19668f71a8def4a9dd /drivers | |
parent | a0fe3cc5d36a5f5b4f60abfe1a4b1caf4a5cce5a (diff) | |
download | op-kernel-dev-1693395511a2840f67dd3184212a072ac7f07524.zip op-kernel-dev-1693395511a2840f67dd3184212a072ac7f07524.tar.gz |
IB/mad: Make needlessly global mad_sendq_size/mad_recvq_size static
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/core/mad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/core/mad.c b/drivers/infiniband/core/mad.c index 6dc7b77..ef1304f 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"); |