+1
−1
+18
−36
Loading
A few small tweaks to make this function easier to read: - Return void (the return value is always 0 and never used) - Split out Fabrics/admin queue processing 'if' block - Remove unnecessary switch on status (it can only be 2 values) Additionally, simplify the I/O command checking logic: we don't need to check for CC.EN = 1, because it is only possible for I/O queues to be created after CC.EN is set to 1. Change-Id: Ib4c39a6e0d9e28912dbb0f0737fd223be0a80207 Signed-off-by:Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/379218 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>