diff --git a/lib/event/subsystems/nvmf/conf.c b/lib/event/subsystems/nvmf/conf.c index 6d29247e7..8f342e8aa 100644 --- a/lib/event/subsystems/nvmf/conf.c +++ b/lib/event/subsystems/nvmf/conf.c @@ -581,11 +581,7 @@ spdk_nvmf_parse_transports(spdk_nvmf_parse_conf_done_fn cb_fn) /* if we get here, there are no transports defined in conf file */ free(ctx); - SPDK_ERRLOG("\nNo valid transport is defined yet.\n" - "When using configuration file, at least one valid transport must be defined.\n" - "You can refer the [Transport] section in spdk/etc/spdk/nvmf.conf.in as an example.\n"); - cb_fn(-1); - + cb_fn(0); return 0; }