diff options
author | Christoph Hellwig <hch@lst.de> | 2017-06-19 03:24:40 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-20 21:21:46 -0400 |
commit | 80ab6af432523b33352771b1eca1cee793cc7c81 (patch) | |
tree | cd3182b493d28952c08ff6ffb0e57012189a81f7 | |
parent | 82f402fefa50f1675bf918bcd009981bd6b30ac8 (diff) |
block: remove the unused bio_to_phys macro
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>
-rw-r--r-- | include/linux/bio.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 36aa641cde28..4907bea03908 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h | |||
@@ -118,7 +118,6 @@ static inline void *bio_data(struct bio *bio) | |||
118 | /* | 118 | /* |
119 | * will die | 119 | * will die |
120 | */ | 120 | */ |
121 | #define bio_to_phys(bio) (page_to_phys(bio_page((bio))) + (unsigned long) bio_offset((bio))) | ||
122 | #define bvec_to_phys(bv) (page_to_phys((bv)->bv_page) + (unsigned long) (bv)->bv_offset) | 121 | #define bvec_to_phys(bv) (page_to_phys((bv)->bv_page) + (unsigned long) (bv)->bv_offset) |
123 | 122 | ||
124 | /* | 123 | /* |