summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-09-25 13:30:05 -0700
committerJens Axboe <axboe@kernel.dk>2018-09-26 08:45:07 -0600
commita5bb207ada5b6631906818ed0b7f62a5475cafcc (patch)
tree43205c342d0155bd6a96b811b18e2c46849dad7d /arch
parent65969e5cb249b765cee261c8f0458ec778b0c22f (diff)
downloadlinux-a5bb207ada5b6631906818ed0b7f62a5475cafcc.tar.gz
linux-a5bb207ada5b6631906818ed0b7f62a5475cafcc.tar.bz2
linux-a5bb207ada5b6631906818ed0b7f62a5475cafcc.zip
arm: remove the unused BIOVEC_MERGEABLE define
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/io.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
index 3c835d6263fa..e58ca25eddb7 100644
--- a/arch/arm/include/asm/io.h
+++ b/arch/arm/include/asm/io.h
@@ -459,13 +459,6 @@ extern void pci_iounmap(struct pci_dev *dev, void __iomem *addr);
#include <asm-generic/io.h>
-/*
- * can the hardware map this into one segment or not, given no other
- * constraints.
- */
-#define BIOVEC_MERGEABLE(vec1, vec2) \
- ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2)))
-
struct bio_vec;
extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
const struct bio_vec *vec2);