Mainly to make it way easier to write the UT in the next patch in the series. Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I00b00d8a83edfad51f3945c49764ae6442fb6f52 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477332 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>