diff options
author | Kanchan Joshi <joshi.k@samsung.com> | 2021-03-09 00:48:04 +0530 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-04-02 18:48:26 +0200 |
commit | 18479ddb7fd5fd0994bd10a95618bf866713a11b (patch) | |
tree | e711894833be7c8fa961d88ac5fcd5a9a46574cf /drivers/nvme/host/rdma.c | |
parent | 2bd643079ec1c44fac66838c27b993b78e8930a7 (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