diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2019-06-27 11:59:41 +0900 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-27 07:34:25 -0600 |
commit | a5b47a40bed8b19e956872fb55097d676a68f59e (patch) | |
tree | 171421006b4aaf27b16454473afa2507b9b23666 /include/linux/bio.h | |
parent | 2b50f230f76f8ef954f12ac34a648e1978f6adf0 (diff) | |
download | linux-stable-a5b47a40bed8b19e956872fb55097d676a68f59e.tar.gz linux-stable-a5b47a40bed8b19e956872fb55097d676a68f59e.tar.bz2 linux-stable-a5b47a40bed8b19e956872fb55097d676a68f59e.zip |
block: Remove unused code
bio_flush_dcache_pages() is unused. Remove it.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r-- | include/linux/bio.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index ee11c4324751..5a8ae56e09ff 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -443,17 +443,6 @@ void generic_end_io_acct(struct request_queue *q, int op, struct hd_struct *part, unsigned long start_time); -#ifndef ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE -# error "You should define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE for your platform" -#endif -#if ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE -extern void bio_flush_dcache_pages(struct bio *bi); -#else -static inline void bio_flush_dcache_pages(struct bio *bi) -{ -} -#endif - extern void bio_copy_data_iter(struct bio *dst, struct bvec_iter *dst_iter, struct bio *src, struct bvec_iter *src_iter); extern void bio_copy_data(struct bio *dst, struct bio *src); |