summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/rdma.c
diff options
context:
space:
mode:
authorKanchan Joshi <joshi.k@samsung.com>2021-03-09 00:48:04 +0530
committerChristoph Hellwig <hch@lst.de>2021-04-02 18:48:26 +0200
commit18479ddb7fd5fd0994bd10a95618bf866713a11b (patch)
treee711894833be7c8fa961d88ac5fcd5a9a46574cf /drivers/nvme/host/rdma.c
parent2bd643079ec1c44fac66838c27b993b78e8930a7 (diff)
nvme: reduce checks for zero command effects
For passthrough I/O commands, effects are usually to be zero. nvme_passthrough_end() does three checks in futility for this case. Bail out of function-call/checks. Signed-off-by: Kanchan Joshi <joshi.k@samsung.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/rdma.c')
0 files changed, 0 insertions, 0 deletions