From: Christoph Hellwig Date: Mon, 19 Jun 2017 07:24:40 +0000 (+0200) Subject: block: remove the unused bio_to_phys macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80ab6af432523b33352771b1eca1cee793cc7c81;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git block: remove the unused bio_to_phys macro Signed-off-by: Christoph Hellwig Reviewed-by: Martin K. Petersen Signed-off-by: Jens Axboe --- 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) /* * 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) /*