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

Commit 403a496f authored by Roland Dreier's avatar Roland Dreier
Browse files

IB: Make needlessly global ib_mad_cache static



Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent b3589fd4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -45,8 +45,7 @@ MODULE_DESCRIPTION("kernel IB MAD API");
MODULE_AUTHOR("Hal Rosenstock");
MODULE_AUTHOR("Sean Hefty");


kmem_cache_t *ib_mad_cache;
static kmem_cache_t *ib_mad_cache;

static struct list_head ib_mad_port_list;
static u32 ib_mad_client_id = 0;
+0 −2
Original line number Diff line number Diff line
@@ -212,8 +212,6 @@ struct ib_mad_port_private {
	struct ib_mad_qp_info qp_info[IB_MAD_QPS_CORE];
};

extern kmem_cache_t *ib_mad_cache;

int ib_send_mad(struct ib_mad_send_wr_private *mad_send_wr);

struct ib_mad_send_wr_private *