summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-10-25 18:59:16 +0300
committerJens Axboe <axboe@kernel.dk>2022-10-25 21:08:31 +0300
commita55b70f1273a54b33482db8b2568da435fefd6c2 (patch)
tree7757ec18f984771d671395f4111d11ad3b71af78 /block/blk-core.c
parent941f7298c70c7668416e7845fa76eb72c07d966b (diff)
downloadlinux-a55b70f1273a54b33482db8b2568da435fefd6c2.tar.xz
block: remove bio_start_io_acct_time
bio_start_io_acct_time is not actually used anywhere, so remove it. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20221025155916.270303-1-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 17667159482e..5d50dd16e2a5 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -946,18 +946,6 @@ unsigned long bdev_start_io_acct(struct block_device *bdev,
EXPORT_SYMBOL(bdev_start_io_acct);
/**
- * bio_start_io_acct_time - start I/O accounting for bio based drivers
- * @bio: bio to start account for
- * @start_time: start time that should be passed back to bio_end_io_acct().
- */
-void bio_start_io_acct_time(struct bio *bio, unsigned long start_time)
-{
- bdev_start_io_acct(bio->bi_bdev, bio_sectors(bio),
- bio_op(bio), start_time);
-}
-EXPORT_SYMBOL_GPL(bio_start_io_acct_time);
-
-/**
* bio_start_io_acct - start I/O accounting for bio based drivers
* @bio: bio to start account for
*