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

IB: Make needlessly global ib_mad_cache static

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent b3589fd4
...@@ -45,8 +45,7 @@ MODULE_DESCRIPTION("kernel IB MAD API"); ...@@ -45,8 +45,7 @@ MODULE_DESCRIPTION("kernel IB MAD API");
MODULE_AUTHOR("Hal Rosenstock"); MODULE_AUTHOR("Hal Rosenstock");
MODULE_AUTHOR("Sean Hefty"); MODULE_AUTHOR("Sean Hefty");
static kmem_cache_t *ib_mad_cache;
kmem_cache_t *ib_mad_cache;
static struct list_head ib_mad_port_list; static struct list_head ib_mad_port_list;
static u32 ib_mad_client_id = 0; static u32 ib_mad_client_id = 0;
......
...@@ -212,8 +212,6 @@ struct ib_mad_port_private { ...@@ -212,8 +212,6 @@ struct ib_mad_port_private {
struct ib_mad_qp_info qp_info[IB_MAD_QPS_CORE]; 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); int ib_send_mad(struct ib_mad_send_wr_private *mad_send_wr);
struct ib_mad_send_wr_private * struct ib_mad_send_wr_private *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment