commit | 2dbf5816bb52ee3198882c1d198440e4bac62253 | [log] [tgz] |
---|---|---|
author | Max Gurtovoy <maxg@mellanox.com> | Mon Jan 23 11:01:12 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Wed Feb 22 13:34:00 2017 -0700 |
tree | f694821390b376f3adc0b0ef1e37594f5b616f78 | |
parent | 8432bdb2905713cb3ef5cbe4a72630fa575565ad [diff] |
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: Max Gurtovoy <maxg@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>