+13
−20
Loading
Remove some of the boilerplate code from each case and replace with just an spdk_msg_fn assignment. This also reduces the size of an upcoming change needed in this function. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Ia209073cfb66032f2cca6bb44a09e1984ef2110c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4257 Reviewed-by:
Anil Veerabhadrappa <anil.veerabhadrappa@broadcom.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>