spdk_thread_poll returns only non-negative value now, and the return code check is not reasonable now. For just in case we may want to add assert(rc >= 0) but compiler gives warning because rc is not used anywhere. So just remove checking return code check here. We noticed first that spdk_thread_destroy was called without spdk_thread exit but this change removes spdk_thread_destroy. So the issue is also fixed together. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I4e7f5c09faf5eda68ea8d42320dbefdca88bbd21 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478237 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
app.c | ||
json_config.c | ||
Makefile | ||
reactor.c | ||
rpc.c | ||
subsystem.c |