Skip to content
Commit 2dbf5816 authored by Max Gurtovoy's avatar Max Gurtovoy Committed by Jens Axboe
Browse files

nvmet: avoid dereferencing nvmet_req



No need to dereference req twice to get the cmd when we already
have it stored in a local variable.

Signed-off-by: default avatarMax Gurtovoy <maxg@mellanox.com>
Reviewed-by: default avatarParav Pandit <parav@mellanox.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 8432bdb2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment