Thread (7 messages) 7 messages, 2 authors, 2018-07-24
STALE2914d REVIEWED: 1 (0M)

[PATCH 3/5] block: remove bio_clone_kmalloc

From: Christoph Hellwig <hch@lst.de>
Date: 2018-07-24 07:52:32
Also in: dm-devel, linux-bcache
Subsystem: block layer, the rest · Maintainers: Jens Axboe, Linus Torvalds

Unused now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <redacted>
---
 include/linux/bio.h | 6 ------
 1 file changed, 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 *);
-- 
2.18.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help