]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
arm: remove the unused BIOVEC_MERGEABLE define
authorChristoph Hellwig <hch@lst.de>
Tue, 25 Sep 2018 20:30:05 +0000 (13:30 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 26 Sep 2018 14:45:07 +0000 (08:45 -0600)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/arm/include/asm/io.h

index 3c835d6263fa62c271d4eb81ae4955c76ab915fa..e58ca25eddb74f8dda2f0af7d0efdbd44d27e7c9 100644 (file)
@@ -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);