+8
−20
Loading
spdk_bdev_scsi_read_write_lba_check() was only called from one spot, and moving its code directly into the caller makes the code simpler to read and more consistent, since now all of the sense code setup is directly in spdk_bdev_scsi_readwrite() rather than being split across two functions. No functional change. Change-Id: Ic6ee21b06c721a949579817f0339a4b047ffb2cc Signed-off-by:Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/393699 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
<shuhei.matsumoto.xt@hitachi.com>