lib/thread: remove spdk prefix from static functions.
Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: I2b1b43c76518c7a00037360b8a1d3c46b4d14f02 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2299 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
90b4350284
commit
7a2bf6fcb9
@ -1081,7 +1081,7 @@ struct call_thread {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
spdk_on_thread(void *ctx)
|
_on_thread(void *ctx)
|
||||||
{
|
{
|
||||||
struct call_thread *ct = ctx;
|
struct call_thread *ct = ctx;
|
||||||
int rc __attribute__((unused));
|
int rc __attribute__((unused));
|
||||||
@ -1101,7 +1101,7 @@ spdk_on_thread(void *ctx)
|
|||||||
SPDK_DEBUGLOG(SPDK_LOG_THREAD, "Continuing thread iteration to %s\n",
|
SPDK_DEBUGLOG(SPDK_LOG_THREAD, "Continuing thread iteration to %s\n",
|
||||||
ct->cur_thread->name);
|
ct->cur_thread->name);
|
||||||
|
|
||||||
rc = spdk_thread_send_msg(ct->cur_thread, spdk_on_thread, ctx);
|
rc = spdk_thread_send_msg(ct->cur_thread, _on_thread, ctx);
|
||||||
}
|
}
|
||||||
assert(rc == 0);
|
assert(rc == 0);
|
||||||
}
|
}
|
||||||
@ -1140,7 +1140,7 @@ spdk_for_each_thread(spdk_msg_fn fn, void *ctx, spdk_msg_fn cpl)
|
|||||||
SPDK_DEBUGLOG(SPDK_LOG_THREAD, "Starting thread iteration from %s\n",
|
SPDK_DEBUGLOG(SPDK_LOG_THREAD, "Starting thread iteration from %s\n",
|
||||||
ct->orig_thread->name);
|
ct->orig_thread->name);
|
||||||
|
|
||||||
rc = spdk_thread_send_msg(ct->cur_thread, spdk_on_thread, ct);
|
rc = spdk_thread_send_msg(ct->cur_thread, _on_thread, ct);
|
||||||
assert(rc == 0);
|
assert(rc == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user