3502a45db2
The APIs even don't have a chance to be called if the drive can't support OPAL feature, so just remove the NULL check, and we will store level 0 discovery descriptors after initialization, so spdk_opal_cmd_scan() isn't necessary here, remove it as well. Change-Id: I24f12f2c352996d9ebe76dc015cd0b7502798359 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1231 Tested-by: 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> |
||
---|---|---|
.. | ||
arbitration | ||
cmb_copy | ||
fio_plugin | ||
hello_world | ||
hotplug | ||
identify | ||
nvme_manage | ||
perf | ||
reconnect | ||
reserve | ||
Makefile |