diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2019-06-26 22:59:41 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-27 09:34:25 -0400 |
commit | a5b47a40bed8b19e956872fb55097d676a68f59e (patch) | |
tree | 171421006b4aaf27b16454473afa2507b9b23666 /block | |
parent | 2b50f230f76f8ef954f12ac34a648e1978f6adf0 (diff) |
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 'block')
-rw-r--r-- | block/bio.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/block/bio.c b/block/bio.c index ad9c3aa9bf7d..bb55b94bb361 100644 --- a/block/bio.c +++ b/block/bio.c | |||
@@ -1760,18 +1760,6 @@ void generic_end_io_acct(struct request_queue *q, int req_op, | |||
1760 | } | 1760 | } |
1761 | EXPORT_SYMBOL(generic_end_io_acct); | 1761 | EXPORT_SYMBOL(generic_end_io_acct); |
1762 | 1762 | ||
1763 | #if ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE | ||
1764 | void bio_flush_dcache_pages(struct bio *bi) | ||
1765 | { | ||
1766 | struct bio_vec bvec; | ||
1767 | struct bvec_iter iter; | ||
1768 | |||
1769 | bio_for_each_segment(bvec, bi, iter) | ||
1770 | flush_dcache_page(bvec.bv_page); | ||
1771 | } | ||
1772 | EXPORT_SYMBOL(bio_flush_dcache_pages); | ||
1773 | #endif | ||
1774 | |||
1775 | static inline bool bio_remaining_done(struct bio *bio) | 1763 | static inline bool bio_remaining_done(struct bio *bio) |
1776 | { | 1764 | { |
1777 | /* | 1765 | /* |