projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82f402f
)
block: remove the unused bio_to_phys macro
author
Christoph Hellwig
<hch@lst.de>
Mon, 19 Jun 2017 07:24:40 +0000
(09:24 +0200)
committer
Jens 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
patch
|
blob
|
history
diff --git
a/include/linux/bio.h
b/include/linux/bio.h
index
36aa641
..
4907bea
100644
(file)
--- 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)
/*