Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16933955 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mad: Make needlessly global mad_sendq_size/mad_recvq_size static



Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent a0fe3cc5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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");