]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
block: remove the unused bio_to_phys macro
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Jun 2017 07:24:40 +0000 (09:24 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Jun 2017 01:21:46 +0000 (19:21 -0600)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/bio.h

index 36aa641cde283d2b14f7b1bdd9698050be539c5c..4907bea039087b781bf2f4d294be5074a3b6fff1 100644 (file)
@@ -118,7 +118,6 @@ static inline void *bio_data(struct bio *bio)
 /*
  * will die
  */
-#define bio_to_phys(bio)       (page_to_phys(bio_page((bio))) + (unsigned long) bio_offset((bio)))
 #define bvec_to_phys(bv)       (page_to_phys((bv)->bv_page) + (unsigned long) (bv)->bv_offset)
 
 /*