summaryrefslogtreecommitdiff
path: root/block/bio.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-03-04 19:01:05 +0100
committerJens Axboe <axboe@kernel.dk>2022-03-07 06:42:33 -0700
commit97939610b893de068c82c347d06319cd231a4602 (patch)
tree9ca23843c0c44927868ae04592dc12aa2eddfc91 /block/bio.c
parent734294e47a2ec48fd25dcf2d96cdf2c6c6740c00 (diff)
block: remove bio_devname
All callers are gone, so remove this wrapper. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20220304180105.409765-11-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bio.c')
-rw-r--r--block/bio.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/block/bio.c b/block/bio.c
index b15f5466ce08..151cace2dbe1 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -807,12 +807,6 @@ int bio_init_clone(struct block_device *bdev, struct bio *bio,
}
EXPORT_SYMBOL(bio_init_clone);
-const char *bio_devname(struct bio *bio, char *buf)
-{
- return bdevname(bio->bi_bdev, buf);
-}
-EXPORT_SYMBOL(bio_devname);
-
/**
* bio_full - check if the bio is full
* @bio: bio to check