projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
076ff2f
)
block: remove bio_clone_kmalloc
author
Christoph Hellwig
<hch@lst.de>
Tue, 24 Jul 2018 07:52:32 +0000
(09:52 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 24 Jul 2018 20:43:22 +0000
(14:43 -0600)
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>
include/linux/bio.h
patch
|
blob
|
history
diff --git
a/include/linux/bio.h
b/include/linux/bio.h
index ab221c517f4ecdd3f4c2f225b8939d40d610c7b0..b861baa59454ca2d3045f55f9e73638d6a688cd9 100644
(file)
--- 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 *);