mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
nvmet: remove unused variable
Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
cb5b7262b0
commit
16d3a280d4
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue