Commit 657e50a0 authored by yidong0635's avatar yidong0635 Committed by Jim Harris
Browse files

test/bdevperf: Replace code with existed function.



These codes are at the end of bdevperf_construct_jobs,
and they can be replaced by _bdevperf_construct_job_done.

Signed-off-by: default avataryidong0635 <dongx.yi@intel.com>
Change-Id: I9bcae562a2a277f6131864ad2ea7b7f565135814
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5181


Community-CI: Mellanox Build Bot
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@mellanox.com>
parent b8c99a3a
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -1607,15 +1607,7 @@ end:
		bdevperf_construct_config_jobs();
	}

	if (--g_construct_job_count == 0) {
		if (g_run_rc != 0) {
			/* Something failed. */
			bdevperf_test_done(NULL);
			return;
		}

		bdevperf_test();
	}
	_bdevperf_construct_job_done(NULL);
}

static int