OpenCloudOS-Kernel/drivers/nvme/target
Colin Ian King 7c3a23b85c nvmet/fcloop: remove some logically dead code performing redundant ret checks
The check to see if ret is non-zero and return this rather than count
is redundant in two occassions.  It is redundant because prior to this
check, the return code ret is already checked for a non-zero error
return value and we return from the function at that point.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2016-12-21 11:34:28 +01:00
..
Kconfig nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
Makefile nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
admin-cmd.c nvmet: fix KATO offset in Set Features 2016-12-21 11:34:27 +01:00
configfs.c Just one simple change from Andrzej to drop the pointless return value 2016-12-14 10:31:25 -08:00
core.c Merge branch 'for-4.10/block' of git://git.kernel.dk/linux-block 2016-12-13 10:19:16 -08:00
discovery.c nvmet: use symbolic constants for CNS values 2016-10-19 11:36:22 -06:00
fabrics-cmd.c nvme: introduce struct nvme_request 2016-11-10 10:06:24 -07:00
fc.c nvme-fabrics: Add target support for FC transport 2016-12-06 10:17:56 +02:00
fcloop.c nvmet/fcloop: remove some logically dead code performing redundant ret checks 2016-12-21 11:34:28 +01:00
io-cmd.c nvmet: add support for the Write Zeroes command 2016-12-01 07:58:40 -07:00
loop.c block: improve handling of the magic discard payload 2016-12-09 08:30:51 -07:00
nvmet.h nvmet: Fix possible infinite loop triggered on hot namespace removal 2016-12-06 10:17:03 +02:00
rdma.c Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00