[dm-devel] [PATCH 06/14] dm: remove unused mapped_device argument from free_tio
Mike Snitzer
snitzer at redhat.com
Thu Feb 10 22:38:24 UTC 2022
Signed-off-by: Mike Snitzer <snitzer at redhat.com>
---
drivers/md/dm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 1985fc3f2a95..f091bbf8a8dc 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -539,7 +539,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);
}
@@ -825,7 +825,7 @@ void dm_io_dec_pending(struct dm_io *io, blk_status_t error)
io_error = io->status;
start_time = io->start_time;
stats_aux = io->stats_aux;
- free_io(md, io);
+ free_io(io);
end_io_acct(md, bio, start_time, &stats_aux);
if (io_error == BLK_STS_DM_REQUEUE)
--
2.15.0
More information about the dm-devel
mailing list