]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0dec989a87eb0ea9dcb5c661dc006bd92dc811fd
tree0727ff0b4303b425c53b81778c0598dbb3a119b6
parente2da8bd940bcc5a6e58b008c066ef2ad131ac8b4
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