Commit 0119ab14 authored by Mike Snitzer's avatar Mike Snitzer

dm: remove unused mapped_device argument from free_tio

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 5b27b8dd
......@@ -556,7 +556,7 @@ static struct dm_io *alloc_io(struct mapped_device *md, struct bio *bio)
return io;
}
static void free_io(struct mapped_device *md, struct dm_io *io)
static void free_io(struct dm_io *io)
{
bio_put(&io->tio.clone);
}
......@@ -839,7 +839,7 @@ void dm_io_dec_pending(struct dm_io *io, blk_status_t error)
io_error = io->status;
dm_end_io_acct(io);
free_io(md, io);
free_io(io);
smp_wmb();
this_cpu_dec(*md->pending_io);
......
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