Spdk/lib/nvmf
Daniel Verkamp fd3f7ee3b3 nvmf: simplify nvmf_process_io_cmd()
Drop the redundant controller ready check.
nvmf_process_io_cmd() was checking CSTS.RDY, but this is not necessary,
since its only caller, spdk_nvmf_request_exec(), is already checking
CC.EN, which always matches RDY in our virtual controller
implementation.

The initialization of status is a dead store -
nvmf_complete_cmd() always writes the full response, and the only other
branch is the return immediately below the call, which also sets status.

Change-Id: I1ec2b8a225a91c4b2997d8ab4f45d050cc216de3
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-07-22 09:14:47 -07:00
..
conf.c nvmf: Add subsystem modes 2016-07-21 17:45:06 -07:00
conf.h nvmf: add NVMe over Fabrics userspace target 2016-06-06 15:21:25 -07:00
controller.c nvmf: Move parsing of NVMe section to conf.c 2016-07-14 10:35:22 -07:00
controller.h nvmf: Move parsing of NVMe section to conf.c 2016-07-14 10:35:22 -07:00
Makefile build: include spdk.common.mk in lib Makefiles 2016-07-18 16:17:40 -07:00
nvmf_internal.h nvmf: Rename MaxConnectionsPerSession to MaxQueuesPerSession 2016-07-20 07:26:58 -07:00
nvmf.c nvmf: Rename MaxConnectionsPerSession to MaxQueuesPerSession 2016-07-20 07:26:58 -07:00
rdma.c nvmf: zero out response data for each command 2016-07-22 08:45:01 -07:00
request.c nvmf: simplify nvmf_process_io_cmd() 2016-07-22 09:14:47 -07:00
request.h nvmf: remove definitions that duplicate NVMe 2016-07-15 16:34:48 -07:00
session.c nvmf: fix ioccsz (in-capsule data size) 2016-07-22 09:13:59 -07:00
session.h nvmf: remove nvmf_property_set() shutdown flag 2016-07-19 09:20:20 -07:00
subsystem.c nvmf: add Doxygen comments to discovery log page 2016-07-15 16:34:46 -07:00
subsystem.h nvmf: Add subsystem modes 2016-07-21 17:45:06 -07:00
transport.c nvmf: add transport function pointer table 2016-07-15 13:11:03 -07:00
transport.h nvmf: Remove host.[ch] and port.[ch] 2016-07-15 14:35:24 -07:00