diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2018-12-13 10:01:54 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-13 11:59:00 +0300 |
commit | 16d3a280d4d73eae786ebf2576cd597a031bc9df (patch) | |
tree | c1e50e25eb67546e630af97286e19df1805e5994 /drivers/nvme | |
parent | cb5b7262b011cfb793519bf97e54dff5282da23c (diff) | |
download | linux-16d3a280d4d73eae786ebf2576cd597a031bc9df.tar.xz |
nvmet: remove unused variable
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r-- | drivers/nvme/target/io-cmd-bdev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/nvme/target/io-cmd-bdev.c b/drivers/nvme/target/io-cmd-bdev.c index c1cb2ed5531c..e0831230ca27 100644 --- a/drivers/nvme/target/io-cmd-bdev.c +++ b/drivers/nvme/target/io-cmd-bdev.c @@ -61,7 +61,6 @@ static void nvmet_bdev_execute_rw(struct nvmet_req *req) struct bio *bio; struct scatterlist *sg; sector_t sector; - blk_qc_t cookie; int op, op_flags = 0, i; if (!req->sg_cnt) { @@ -114,7 +113,7 @@ static void nvmet_bdev_execute_rw(struct nvmet_req *req) sg_cnt--; } - cookie = submit_bio(bio); + submit_bio(bio); } static void nvmet_bdev_execute_flush(struct nvmet_req *req) |