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>
This commit is contained in:
parent
82f402fefa
commit
80ab6af432
|
@ -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)
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue