From: Christoph Hellwig Date: Tue, 25 Sep 2018 20:30:05 +0000 (-0700) Subject: arm: remove the unused BIOVEC_MERGEABLE define X-Git-Tag: v4.20-rc1~191^2~144 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a5bb207ada5b6631906818ed0b7f62a5475cafcc;p=uclinux-h8%2Flinux.git arm: remove the unused BIOVEC_MERGEABLE define Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- 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 -/* - * 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);