diff options
author | Kanchan Joshi <joshi.k@samsung.com> | 2021-04-27 09:47:47 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-05-04 10:35:49 +0300 |
commit | 51ad06cd698cb9ff280a769ed8d57210a1d2266d (patch) | |
tree | e0473e5abf54d0703ed08fa09aa7fd9d05d44494 /lib/mpi/mpi-cmp.c | |
parent | 4c74d1f80381996027bacc4f6c554948ef9bf374 (diff) | |
download | linux-51ad06cd698cb9ff280a769ed8d57210a1d2266d.tar.xz |
nvme: avoid memset for passthrough requests
nvme_clear_nvme_request() clears the nvme_command, which is unncessary
for passthrough requests as nvme_command is overwritten immediately.
Move clearing part from this helper to the caller, so that double memset
for passthrough requests is avoided.
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions