diff options
author | 2018-07-13 10:48:39 +0200 | |
---|---|---|
committer | 2018-07-13 08:14:36 -0600 | |
commit | 242e461fb628bb63763e0bb2788d52ea054f8721 (patch) | |
tree | a07407b1ac98a5ff5c2317ac29bca2e062c3b0be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | lightnvm: pblk: enable line minor version detection (diff) | |
download | wireguard-linux-242e461fb628bb63763e0bb2788d52ea054f8721.tar.xz wireguard-linux-242e461fb628bb63763e0bb2788d52ea054f8721.zip |
lightnvm: Remove redundant rq->__data_len initialization
Since both blk_old_get_request() and blk_mq_alloc_request() initialize
rq->__data_len to zero, it is not necessary to initialize that member
in nvme_nvm_alloc_request(). Hence remove the rq->__data_len
initialization from nvme_nvm_alloc_request().
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions