Commit 16d3a280 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Christoph Hellwig

nvmet: remove unused variable

Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent cb5b7262
...@@ -61,7 +61,6 @@ static void nvmet_bdev_execute_rw(struct nvmet_req *req) ...@@ -61,7 +61,6 @@ static void nvmet_bdev_execute_rw(struct nvmet_req *req)
struct bio *bio; struct bio *bio;
struct scatterlist *sg; struct scatterlist *sg;
sector_t sector; sector_t sector;
blk_qc_t cookie;
int op, op_flags = 0, i; int op, op_flags = 0, i;
if (!req->sg_cnt) { if (!req->sg_cnt) {
...@@ -114,7 +113,7 @@ static void nvmet_bdev_execute_rw(struct nvmet_req *req) ...@@ -114,7 +113,7 @@ static void nvmet_bdev_execute_rw(struct nvmet_req *req)
sg_cnt--; sg_cnt--;
} }
cookie = submit_bio(bio); submit_bio(bio);
} }
static void nvmet_bdev_execute_flush(struct nvmet_req *req) static void nvmet_bdev_execute_flush(struct nvmet_req *req)
......
Markdown is supported
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