diff options
author | Roland Dreier <rolandd@cisco.com> | 2010-05-24 00:39:31 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-05-24 00:39:31 -0400 |
commit | 1693395511a2840f67dd3184212a072ac7f07524 (patch) | |
tree | 5906e6b772fe898e65707d19668f71a8def4a9dd /drivers/infiniband | |
parent | a0fe3cc5d36a5f5b4f60abfe1a4b1caf4a5cce5a (diff) |
IB/mad: Make needlessly global mad_sendq_size/mad_recvq_size static
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-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 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"); | |||
47 | MODULE_AUTHOR("Hal Rosenstock"); | 47 | MODULE_AUTHOR("Hal Rosenstock"); |
48 | MODULE_AUTHOR("Sean Hefty"); | 48 | MODULE_AUTHOR("Sean Hefty"); |
49 | 49 | ||
50 | int mad_sendq_size = IB_MAD_QP_SEND_SIZE; | 50 | static int mad_sendq_size = IB_MAD_QP_SEND_SIZE; |
51 | int mad_recvq_size = IB_MAD_QP_RECV_SIZE; | 51 | static int mad_recvq_size = IB_MAD_QP_RECV_SIZE; |
52 | 52 | ||
53 | module_param_named(send_queue_size, mad_sendq_size, int, 0444); | 53 | module_param_named(send_queue_size, mad_sendq_size, int, 0444); |
54 | MODULE_PARM_DESC(send_queue_size, "Size of send queue in number of work requests"); | 54 | MODULE_PARM_DESC(send_queue_size, "Size of send queue in number of work requests"); |