nvmf: make conn.c globals static

All of the variables are private to conn.c, so they don't need global
visibility.

Change-Id: I7c24cfc6249a9f8164b162b4b8de0e24c452e0df
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-06-21 16:23:29 -07:00 committed by Benjamin Walker
parent 1d3ee6c5f1
commit f086365392

View File

@ -62,13 +62,13 @@
static rte_atomic32_t g_num_connections[RTE_MAX_LCORE];
static int g_max_conns;
struct spdk_nvmf_conn *g_conns_array;
char g_shm_name[64];
int g_conns_array_fd;
static struct spdk_nvmf_conn *g_conns_array;
static char g_shm_name[64];
static int g_conns_array_fd;
pthread_mutex_t g_conns_mutex;
static pthread_mutex_t g_conns_mutex;
struct rte_timer g_shutdown_timer;
static struct rte_timer g_shutdown_timer;
static int nvmf_allocate_reactor(uint64_t cpumask);
static void spdk_nvmf_conn_do_work(void *arg);