nvmf: mark debug string array as static
It is not used outside rdma.c. Change-Id: Ic32aff4e07d6a430688e76b2dd223d5a5a61964e Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
411df9ad9b
commit
6dfbcfa883
@ -755,7 +755,8 @@ err0:
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *CM_EVENT_STR[] = {
|
#ifdef DEBUG
|
||||||
|
static const char *CM_EVENT_STR[] = {
|
||||||
"RDMA_CM_EVENT_ADDR_RESOLVED",
|
"RDMA_CM_EVENT_ADDR_RESOLVED",
|
||||||
"RDMA_CM_EVENT_ADDR_ERROR",
|
"RDMA_CM_EVENT_ADDR_ERROR",
|
||||||
"RDMA_CM_EVENT_ROUTE_RESOLVED",
|
"RDMA_CM_EVENT_ROUTE_RESOLVED",
|
||||||
@ -773,6 +774,7 @@ const char *CM_EVENT_STR[] = {
|
|||||||
"RDMA_CM_EVENT_ADDR_CHANGE",
|
"RDMA_CM_EVENT_ADDR_CHANGE",
|
||||||
"RDMA_CM_EVENT_TIMEWAIT_EXIT"
|
"RDMA_CM_EVENT_TIMEWAIT_EXIT"
|
||||||
};
|
};
|
||||||
|
#endif /* DEBUG */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nvmf_rdma_accept(struct rte_timer *timer, void *arg)
|
nvmf_rdma_accept(struct rte_timer *timer, void *arg)
|
||||||
|
Loading…
Reference in New Issue
Block a user