aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-10-23 12:42:44 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-10-23 12:42:44 +0200
commit26da10784866974d3e87ba998c66458c305777ca (patch)
treee0e9cf3f1ad7b80a34ac7703c55d9da8ec191c8f
parentdee9ba828fb5e72bef17450168774fb360dce983 (diff)
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: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--include/asm-blackfin/scatterlist.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-blackfin/scatterlist.h b/include/asm-blackfin/scatterlist.h
index 32128d53469..04f448711cd 100644
--- a/include/asm-blackfin/scatterlist.h
+++ b/include/asm-blackfin/scatterlist.h
@@ -20,7 +20,6 @@ struct scatterlist {
* returns, or alternatively stop on the first sg_dma_len(sg) which
* is 0.
*/
-#define sg_address(sg) (page_address((sg)->page) + (sg)->offset)
#define sg_dma_address(sg) ((sg)->dma_address)
#define sg_dma_len(sg) ((sg)->length)