+9
−18
Loading
When create channel, the fields that _spdk_bdev_channel_destroy_resource() checked are always be set to non-null. Remove these unnecessary if statements makes issue exposed more easily if something goes wrong. Change-Id: I2d505c87176d4d49eb1528a258e4bea6477e0fe6 Signed-off-by:wuzhouhui <wuzhouhui@kingsoft.com> Reviewed-on: https://review.gerrithub.io/c/438799 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>