Commit 26da1078 authored by Jens Axboe's avatar Jens Axboe

blackfin: remove sg_address()

I would have replaced it with sg_virt(), but it doesn't appear to be
used at all.
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent dee9ba82
...@@ -20,7 +20,6 @@ struct scatterlist { ...@@ -20,7 +20,6 @@ struct scatterlist {
* returns, or alternatively stop on the first sg_dma_len(sg) which * returns, or alternatively stop on the first sg_dma_len(sg) which
* is 0. * is 0.
*/ */
#define sg_address(sg) (page_address((sg)->page) + (sg)->offset)
#define sg_dma_address(sg) ((sg)->dma_address) #define sg_dma_address(sg) ((sg)->dma_address)
#define sg_dma_len(sg) ((sg)->length) #define sg_dma_len(sg) ((sg)->length)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment