ftl: remove unnecessary thread allocation for core IO thread

The value is already initialized via caller.

Change-Id: I3426a9f34cc545337b6bd3d729ca65e31a8e962e
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/448523
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Changpeng Liu 2019-03-20 04:53:27 -04:00 committed by Darek Stojaczyk
parent f373369a9c
commit ef9a7d5c7c

View File

@ -556,8 +556,6 @@ _ftl_dev_init_thread(void *ctx)
struct ftl_thread *thread = ctx;
struct spdk_ftl_dev *dev = thread->dev;
thread->thread = spdk_get_thread();
thread->poller = spdk_poller_register(thread->poller_fn, thread, thread->period_us);
if (!thread->poller) {
SPDK_ERRLOG("Unable to register poller\n");