Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

IB: Make needlessly global ib_mad_cache static

Signed-off-by: Roland Dreier <rolandd@cisco.com>

+1 -4
+1 -2
drivers/infiniband/core/mad.c
··· 45 45 MODULE_AUTHOR("Hal Rosenstock"); 46 46 MODULE_AUTHOR("Sean Hefty"); 47 47 48 - 49 - kmem_cache_t *ib_mad_cache; 48 + static kmem_cache_t *ib_mad_cache; 50 49 51 50 static struct list_head ib_mad_port_list; 52 51 static u32 ib_mad_client_id = 0;
-2
drivers/infiniband/core/mad_priv.h
··· 212 212 struct ib_mad_qp_info qp_info[IB_MAD_QPS_CORE]; 213 213 }; 214 214 215 - extern kmem_cache_t *ib_mad_cache; 216 - 217 215 int ib_send_mad(struct ib_mad_send_wr_private *mad_send_wr); 218 216 219 217 struct ib_mad_send_wr_private *