Loading
nvmf: change judgement to assert
Reason: It should never fail, which should comply with the logic in nvmf_tgt_destroy_poll_group. For the current case, if the judement fails, we still add the g_active_poll_groups, the logic is not correct. And according to the analysis, the poll group creation should not fail. Change-Id: I408ee1e8099f709330b8a6ffd26cf27d6a549bed Signed-off-by:Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/414565 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>