diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-24 09:52:32 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-24 14:43:22 -0600 |
commit | 071f52fbce6161706d070ceada5accb81630bf02 (patch) | |
tree | 0999d35adf41184a540ddbb9533b2a9cad4eb78f /include/linux/bio.h | |
parent | 076ff2f0b877df4ace6604480f9b1278e61719b8 (diff) | |
download | talos-obmc-linux-071f52fbce6161706d070ceada5accb81630bf02.tar.gz talos-obmc-linux-071f52fbce6161706d070ceada5accb81630bf02.zip |
block: remove bio_clone_kmalloc
Unused now.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r-- | include/linux/bio.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index ab221c517f4e..b861baa59454 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -443,12 +443,6 @@ static inline struct bio *bio_kmalloc(gfp_t gfp_mask, unsigned int nr_iovecs) return bio_alloc_bioset(gfp_mask, nr_iovecs, NULL); } -static inline struct bio *bio_clone_kmalloc(struct bio *bio, gfp_t gfp_mask) -{ - return bio_clone_bioset(bio, gfp_mask, NULL); - -} - extern blk_qc_t submit_bio(struct bio *); extern void bio_endio(struct bio *); |