nvmet: avoid unneeded assignment of submit_bio return value
authorMax Gurtovoy <maxg@mellanox.com>
Mon, 10 Jul 2017 14:24:02 +0000 (17:24 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Mon, 10 Jul 2017 15:45:38 +0000 (18:45 +0300)
commitc2f30f08c115a6bb9061afb4ba314f7e41f20686
tree0727ff0b4303b425c53b81778c0598dbb3a119b6
parentb27c1e683d2c8cd666a042b02096d18237911a37
nvmet: avoid unneeded assignment of submit_bio return value

We actually using the cookie returned from the last submit_bio
call.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/target/io-cmd.c